summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------platform/ios/uitest/OHHTTPStubs0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/.gitignore15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/.travis.yml14
-rw-r--r--platform/ios/uitest/OHHTTPStubs/CHANGELOG.md255
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h13
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m169
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib158
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj385
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme92
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock26
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json112
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj587
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h14
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpgbin46859 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt3
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.pngbin18594 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist40
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch14
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m17
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift21
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard196
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift131
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj382
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme91
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile8
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock29
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h1
l---------platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json112
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock29
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj699
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h12
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig9
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h11
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown15
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h14
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh59
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpgbin46859 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt3
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.pngbin18594 -> 0 bytes
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json68
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist45
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib41
-rw-r--r--platform/ios/uitest/OHHTTPStubs/LICENSE9
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec86
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj1320
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme113
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings8
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h67
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m206
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h308
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m253
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h240
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m321
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h193
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m259
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h44
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h143
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m335
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h328
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m789
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h463
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m1339
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h310
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m793
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h531
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m1079
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md383
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h76
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m171
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h64
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m97
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h96
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m111
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h181
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m293
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h143
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m216
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h38
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h88
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m183
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h64
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m93
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h83
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m151
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h1
l---------platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj1190
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h44
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m5
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch4
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m5
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh95
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig1
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist56
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m5
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h50
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh93
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h47
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h79
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m76
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h57
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m48
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h100
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m238
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m88
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m71
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h199
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m530
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h62
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m54
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h47
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m31
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h269
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m194
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h77
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m35
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h86
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m52
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift179
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist30
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist26
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json0
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail19
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail11
-rwxr-xr-xplatform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail6
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m18
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m225
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m147
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m394
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m187
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m227
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m216
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift200
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m162
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m116
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist22
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch7
-rw-r--r--platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail10
-rw-r--r--platform/ios/uitest/OHHTTPStubs/README.md120
-rw-r--r--platform/ios/uitest/OHHTTPStubs/Rakefile55
282 files changed, 3 insertions, 24088 deletions
diff --git a/.gitmodules b/.gitmodules
index 8eea444671..af156810c6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -9,3 +9,6 @@
[submodule "platform/ios/uitest/KIF"]
path = platform/ios/uitest/KIF
url = https://github.com/kif-framework/KIF.git
+[submodule "platform/ios/uitest/OHHTTPStubs"]
+ path = platform/ios/uitest/OHHTTPStubs
+ url = https://github.com/AliSoftware/OHHTTPStubs.git
diff --git a/platform/ios/uitest/OHHTTPStubs b/platform/ios/uitest/OHHTTPStubs
new file mode 160000
+Subproject deed01a1592210a4c37f3f5c5f2b32fe0e41c60
diff --git a/platform/ios/uitest/OHHTTPStubs/.gitignore b/platform/ios/uitest/OHHTTPStubs/.gitignore
deleted file mode 100644
index a27dff4c47..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-# Xcode
-build/
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-profile
-*.moved-aside
-.DS_Store
-*.xccheckout
diff --git a/platform/ios/uitest/OHHTTPStubs/.travis.yml b/platform/ios/uitest/OHHTTPStubs/.travis.yml
deleted file mode 100644
index 45bfb794fd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/.travis.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-language: objective-c
-
-before_install:
- - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
-
-env:
- #- RAKETASK="simlist"
- #- RAKETASK="ios[iOS StaticLib,7.1,test]"
- - RAKETASK="ios[iOS StaticLib,latest,test]"
- - RAKETASK="ios[iOS Framework,latest,test]"
- - RAKETASK="osx[Mac Framework,x86_64,test]"
-
-script:
- - rake "$RAKETASK"
diff --git a/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md b/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md
deleted file mode 100644
index 34f2e98990..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/CHANGELOG.md
+++ /dev/null
@@ -1,255 +0,0 @@
-# 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)
-
-* Fix threading in `NSURLProtocol` subclass calling `NSURLProtocolClient` callbacks from wrong thread. ([@nsprogrammer](https://github.com/nsprogrammer), [#96](https://github.com/AliSoftware/OHHTTPStubs/pull/96))
-
-## [4.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/4.0.0) — Improvements for Swift
-
-* Annotated the library with _nullability_ attributes to generate a better API when used in Swift
-* Migrated the path utility macros to functions in `OHPathHelpers.h`, for Swift compatibility ([#100](https://github.com/AliSoftware/OHHTTPStubs/issues/100)).
-* Added a complete Swift Demo Project ([#88](https://github.com/AliSoftware/OHHTTPStubs/issues/88))
-* Removed the `XCTestExpectation` subspec that was added for Xcode 5 support — Now that Xcode 6 is widely adopted, you shouldn't need this anymore (but in case you still need it, I will probably create a dedicated pod for that)
-
-## [3.1.12](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.12)
-
-* Fixed issue with HTTP 300 return code (multiple-choice) that is not supposed to redirect. ([@tarbrain](https://github.com/tarbrain), [#92](https://github.com/AliSoftware/OHHTTPStubs/pull/92))
-
-## [3.1.11](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.11)
-
-* Added [Carthage](https://github.com/Carthage/Carthage) support
-* Splitted the Xcode projects for more clarity (one dedicated to build the lib and run Unit Tests, and one for the Demo)
-* Got rid of the `git submodule` used for Unit Tests against [AFNetworking](https://github.com/AFNetworking/AFNetworking) — it is now imported using [CocoaPods](http://cocoapods.org) and only for the lib's Unit Tests targets ([@corinnekrych](https://github.com/corinnekrych), [#90](https://github.com/AliSoftware/OHHTTPStubs/pull/90))
-* Improved [Travis-CI](https://travis-ci.org/AliSoftware/OHHTTPStubs) integration. We now use a build matrix to have paralellized and independant builds for each scheme (iOS Static Lib, iOS Dynamic Framework, OSX Framework)
-* Fixed [#80](https://github.com/AliSoftware/OHHTTPStubs/issues/80) again (there was still an issue for people using Xcode 5 & SDK 7.1… if those people still exists)
-
-## [3.1.10](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.10)
-
-* Fix headers for people still building with Xcode 5 & SDK 7 ([#80](https://github.com/AliSoftware/OHHTTPStubs/issues/80))
-
-## [3.1.9](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.9)
-
-* Use `NS_DESIGNATED_INITIALIZER` macro on designated initializer methods ([#79](https://github.com/AliSoftware/OHHTTPStubs/pull/79))
-
-## [3.1.8](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.8)
-
-* Use `application/json` instead of `text/json` in `README`'s example ([#75](https://github.com/AliSoftware/OHHTTPStubs/pull/75))
-* Fixed an issue with empty files (when using `responseWithFileAtPath:statusCode:headers:` but the file at the specified path is empty)
-
-## [3.1.7](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.7)
-
-* Added `DEFINES_MODULE` Flag to be easily imported in Swift ([#74](https://github.com/AliSoftware/OHHTTPStubs/pull/74))
-
-_(I also moved [Travis-CI build system](https://travis-ci.org/AliSoftware/OHHTTPStubs) so it now uses `xcpretty` instead of `xctool` to run Unit Tests)_
-
-## [3.1.6](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.6)
-
-* Fixed issue with the main thread stalling when an `NSException` was raised in the response block
-* Fixed an issue with `OHHTTPStubs/XCTestExpectation` conditional compilation in Xcode 6.0 & OSX SDK.
- _(the condition was previously testing available SDKs instead of Xcode version, which led to errors with Xcode 6.0 not having the latest 10.10 SDK yet, but still having the `XCTestExpectation` already anyway)_
-
-## [3.1.5](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.5)
-
-* Migrated Unit Tests to XCTest.
-* Added `XCTestExpectation` subspec containing my own implementation for Xcode 5 support
-
-## [3.1.4](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.4)
-
-* Fix issue that made stubs never being called on iOS8 (#65).
-
-> _As of Xcode6 Beta4, **`OHHTTPStubs` compatibility with iOS8** has been validated now._
-
-
-## [3.1.3](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.3)
-
-* Fix #66: Use the ivar directly in initialization (to avoid KVO side effects)
-
-## [3.1.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.2)
-
-* Fix broken link in README (#61)
-* Don't override Content-Length header when already set (#62)
-
-## [3.1.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.1)
-
-* Fixing a crash when using very very long data #57/#59
-* Fixing issue #51 regarding a probable race condition when stubs were removed before the request has finished
-* Shorten the README.md file and moved all the usage examples in a dedicated wiki page to avoid a endless and frightening README
-
-## [3.1.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.1.0)
-
-* The `OHHTTPStubsDescriptor` protocol now inherits from the `NSObject` protocol
-
-## [3.0.4](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.4)
-
-Fixing issue #47 when stubs were not called, especially when the `OHHTTPStubs` pod were loaded both by the application AND the test target/bundle. See also [[A tricky case with Application Tests]].
-
-* `NSURLSessionConfiguration` 's swizzling (to add automatic support of `OHHTTPStubs` to `NSURLSession`) is now done in the `+load` method of an `NSURLSessionConfiguration` category, to be sure it is loaded (and swizzled) only once, even if `OHHTTPStubs` is loaded by two different bundles.
-* The stubs activation of `NSURLSessionConfiguration` no longer uses `objc_getClass` but uses a call to the `OHHTTPStubs` class instead, which ensure that it uses the correct `OHHTTPStubs` class in the current bundle instead of always using the one loaded from the main bundle.
-
-## [3.0.3](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.3)
-
-* Adding Mac framework & Mac Test Target (#44)
-* Adding known limitations in README
-
-## [3.0.2](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.2)
-
-* Fixed issue with cookies when `request.URL` is `nil` ([#39](https://github.com/AliSoftware/OHHTTPStubs/pull/39))
-* Fixed missing `-ObjC` flag in Unit Tests target _(that made it unable to call category methods)_
-* Fixed Unit Tests on iOS6 _(`NSURLSession`-related Unit Tests now only executed when run on iOS7+ or OSX10.9+, and skipped if targeted for an earlier OS version, as `NSURLSession` was not available then)_
-
-## [3.0.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.1)
-
-* Fixed issue with `NSURLSessionConfiguration` auto-swizzling (#37 & #38)
-
-> _Now `OHHTTPStubs` automagically works with `NSURLSessionConfiguration` **without the need** to enable it for every `NSURLSessionConfiguration` before creating the `NSURLSession`: the `defaultSessionConfiguration` and `ephemeralSessionConfiguration` are now preconfigured automatically to work with `OHHTTPStubs`)_
-
-## [3.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/3.0.0)
-
-* Removed deprecated methods.
-
-> The Old API has now totally disappeared, leaving only a clean and simple API without the spam due to old deprecated methods.
-
-Note: **If you have already removed the calls to all `OHHTTPStubs` deprecated API in your code, you can switch to this `3.0.0` version without any further changes in your code**.
-
-## [2.4.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.4.0)
-
-* Added support for `NSURLSession` (thx to @ndonald2) [#31](https://github.com/AliSoftware/OHHTTPStubs/issues/31) [#34](https://github.com/AliSoftware/OHHTTPStubs/issues/34)
-
-## [2.3.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.3.1)
-
-* Fixed bug with OHHTTPStubsResponse+JSON when `nil` headers dictionary
-
-## [2.3.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.3.0)
-
-* Added the ability to give a name to a stub, for debugging purposes (property `name` of `id<OHHTTPStubsDescriptor>`)
-* Added `allStubs` method to list all installed stubs (with their name if they have one, see previous point)
-* Added `+[OHHTTPStubs onStubActivation:]` method to execute arbitrary code each time a stub is activated. Useful to log which stub is used for each request for example.
-
-## [2.2.1](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.2.1)
-
-* Complete refactoring to use `NSInputStream` instead of direct use of `NSData` (Thanks to @kcharwood - #28)
-* Some other code refactoring to split the code in categories and make it clearer
-* Some API changes to make `OHHTTPStubs` to fit the new possibility of setting both `requestTime` and `responseTime`.
- * Old API is still there but deprecated, and will be removed in next major version
- * To convert to the new API, you will mainly simply:
- * extract the `responseTime:` parameter to a method call of its own (`return [OHHTTPStubsResponse responseWithData:data statusCode:code responseTime:time headers:header];` will become `return [[OHHTTPStubsResponse responseWithData:data statusCode:code headers:headers] responseTime:time];` etc.)
- * convert `responseWithFile:filename` to `responseWithFileAtPath:OHPathForFileInBundle(filename,nil)`
-
-> Note: version `2.1.0-RC`, `2.1.0-rc.1`, `2.2.0-RC` and `2.2.1-RC` were intermediate Release Candidate versions during the big refactoring and migration to `2.2.1`, with the same new features as listed above basicaly, but without the last-minute bugfixes before official release.
-
-## [2.0.0](https://github.com/AliSoftware/OHHTTPStubs/releases/tag/2.0.0)
-
-* Simplified API
- * removed instance methods, no more public `sharedInstance`: directly call class methods on the `OHHTTPStubs` class
- * The old and problematic `addRequestHandler:` method has been deprecated and should not be used anymore. Use `stubRequestsPassingTest:withStubResponse:` instead, which is more efficient
-* Added API documentation in the headers
-* Remove all internal uses of Apple's private APIs
-
-> _Be careful: if you forgot to remove your use of `OHHTTPStubs` and your stubs from the binary you sent to the AppStore, your app would have been rejected by Apple before 2.0.0, as it was using private API (which was a way to make sure not to forget to remove them), but now it would be accepted silently. So don't forget to remove your stubs and `OHHTTPStubs` from your final binary!_
-
-## [1.2.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.2)
-
-* Fixed Deadlock introduced by 1.2.1
-
-## [1.2.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.1)
-
-* Improved thread-safety (#21)
-* Stop sending messages to `NSURLProtoclClient` after `stopLoading`
-
-> _This version is buggy as it introduced a deadlock when performing a request on the main thread. 1.2.2 fixes that issue._
-
-## [1.2.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.2.0)
-
-* Added support for "HTTP Message Data" stubs generated with `curl -is <someurl>` to replay them easily (#27). See the `README.md` for more info
-* Added redirect support for 3xx response codes (#23)
-* Dropped non-ARC support. Now `OHHTTPStubs` is to be compiled using ARC. _(This should not change anything as it is intended to be integrated using CocoaPods or compiled in a separate xcodeproj anyway)_
-
-## [1.1.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.2)
-
-Easier integration process:
-
-* Use `#import <OHHTTPStubs/OHHTTPStubs.h>` again
-* But adding the path to the library headers in your application project's `HEADER_SEARCH_PATH` is no longer needed!
-
-## [1.1.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.1)
-
-* Fixed crash when calling "setEnabled:" / "registerClass:" multiple times
-* New integration process: we don't use the `PortableLibrary.xcconfig` anymore (as it generated problems for people using configuration with names other than "Debug" and "Release"). _(1)_
-
-_You will now have to indicate the folder containing headers for `OHHTTPStubs` in your `HEADER_SEARCH_PATH` Build Settings, and we are back to `#import "OHHTTPStubs.h"` until a better solution is found_
-
-> _(1) This modification for the integration process did only last for version 1.1.1. Version 1.1.2 restored `#import <OHHTTPStubs/OHHTTPStubs.h>` (but using a much better solution than the previous xcconfig used) and filling `HEADER_SEARCH_PATH` is no longer needed in further versions. See changelog for 1.1.2 above._
-
-## [1.1.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.1.0)
-
-* Added new API `shouldStubRequest:withRequestHandler:` to avoid useless building of stubbed response like `addRequestHandler:` does
-
-## [1.0.6](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.6)
-
-* Adding support for cookies (Set-Cookie headers)
-
-## [1.0.5](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.5)
-
-* Added Unit Tests
-* Removed calls to the deprecated `dispatch_get_current_queue()` GCD function (was used with `dispatch_after` to add fake delay to stubbed responses)
-
-## [1.0.4](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.4)
-
-* Fixed #6 : "responseWithError:" released response object too soon
-
-## [1.0.3](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.3)
-
-* Fixed small compilation issues #4 (issue in sample code) & #5 (ARC invalid cast)
-
-## [1.0.2](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.2)
-
-* Embedded `OHHTTPStubs` in a neat static library for nicer integration in your Xcode4 workspaces.
-
-## [1.0.1](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.1)
-
-* Fix issue when used in a SenTestCase
-
-## [1.0.0](https://github.com/AliSoftware/OHHTTPStubs/tree/1.0.0)
-
-* Cleaning API, added `removeLastHandler` and `removeRequestHandler:` method.
-* Now first stable API in this version.
-* Example project now compatible with ARC and non-ARC environments
-
-## [0.2.0](https://github.com/AliSoftware/OHHTTPStubs/tree/0.2.0)
-
-* Added Example project
-* Added ARC support
-* Some fixes
-
-## [0.1.0](https://github.com/AliSoftware/OHHTTPStubs/tree/0.1.0)
-
-* Initial version
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h
deleted file mode 100644
index bf1a8f5fce..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// MainViewController.h
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface MainViewController : UIViewController
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m
deleted file mode 100644
index 327a4d2d20..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.m
+++ /dev/null
@@ -1,169 +0,0 @@
-//
-// MainViewController.m
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import "MainViewController.h"
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-
-@interface MainViewController ()
-// IBOutlets
-@property (retain, nonatomic) IBOutlet UISwitch *delaySwitch;
-@property (retain, nonatomic) IBOutlet UITextView *textView;
-@property (retain, nonatomic) IBOutlet UISwitch *installTextStubSwitch;
-@property (retain, nonatomic) IBOutlet UIImageView *imageView;
-@property (retain, nonatomic) IBOutlet UISwitch *installImageStubSwitch;
-@end
-
-@implementation MainViewController
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Init & Dealloc
-
-- (void)viewDidLoad
-{
- [super viewDidLoad];
-
- [self installTextStub:self.installTextStubSwitch];
- [self installImageStub:self.installImageStubSwitch];
- [OHHTTPStubs onStubActivation:^(NSURLRequest *request, id<OHHTTPStubsDescriptor> stub) {
- NSLog(@"[OHHTTPStubs] Request to %@ has been stubbed with %@", request.URL, stub.name);
- }];
-}
-- (void)viewDidUnload
-{
- [self setTextView:nil];
- [self setImageView:nil];
- [self setDelaySwitch:nil];
- [super viewDidUnload];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Global stubs activation
-
-- (IBAction)toggleStubs:(UISwitch *)sender
-{
- [OHHTTPStubs setEnabled:sender.on];
- self.delaySwitch.enabled = sender.on;
- self.installTextStubSwitch.enabled = sender.on;
- self.installImageStubSwitch.enabled = sender.on;
-
- NSLog(@"Installed (%@) stubs: %@", (sender.on?@"and enabled":@"but disabled"), OHHTTPStubs.allStubs);
-}
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Text Download and Stub
-
-
-- (IBAction)downloadText:(UIButton*)sender
-{
- sender.enabled = NO;
- self.textView.text = nil;
-
- NSString* urlString = @"http://www.opensource.apple.com/source/Git/Git-26/src/git-htmldocs/git-commit.txt?txt";
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-
- // This is a very handy way to send an asynchronous method, but only available in iOS5+
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- sender.enabled = YES;
- NSString* receivedText = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
- self.textView.text = receivedText;
- }];
-}
-
-
-
-
-- (IBAction)installTextStub:(UISwitch *)sender
-{
- static id<OHHTTPStubsDescriptor> textStub = nil; // Note: no need to retain this value, it is retained by the OHHTTPStubs itself already
- if (sender.on)
- {
- // Install
- textStub = [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- // This stub will only configure stub requests for "*.txt" files
- return [request.URL.pathExtension isEqualToString:@"txt"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- // Stub txt files with this
- return [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile(@"stub.txt", self.class)
- statusCode:200
- headers:@{@"Content-Type":@"text/plain"}]
- requestTime:self.delaySwitch.on ? 2.f: 0.f
- responseTime:OHHTTPStubsDownloadSpeedWifi];
- }];
- textStub.name = @"Text stub";
- }
- else
- {
- // Uninstall
- [OHHTTPStubs removeStub:textStub];
- }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Image Download and Stub
-
-- (IBAction)downloadImage:(UIButton*)sender
-{
- sender.enabled = NO;
-
- NSString* urlString = @"http://images.apple.com/support/assets/images/products/iphone/hero_iphone4-5_wide.png";
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-
- // This is a very handy way to send an asynchronous method, but only available in iOS5+
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- sender.enabled = YES;
- self.imageView.image = [UIImage imageWithData:data];
- }];
-}
-
-- (IBAction)installImageStub:(UISwitch *)sender
-{
- static id<OHHTTPStubsDescriptor> imageStub = nil; // Note: no need to retain this value, it is retained by the OHHTTPStubs itself already :)
- if (sender.on)
- {
- // Install
- imageStub = [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- // This stub will only configure stub requests for "*.png" files
- return [request.URL.pathExtension isEqualToString:@"png"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- // Stub jpg files with this
- return [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile(@"stub.jpg", self.class)
- statusCode:200
- headers:@{@"Content-Type":@"image/jpeg"}]
- requestTime:self.delaySwitch.on ? 2.f: 0.f
- responseTime:OHHTTPStubsDownloadSpeedWifi];
- }];
- imageStub.name = @"Image stub";
- }
- else
- {
- // Uninstall
- [OHHTTPStubs removeStub:imageStub];
- }
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Cleaning
-
-- (IBAction)clearResults
-{
- self.textView.text = @"";
- self.imageView.image = nil;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib
deleted file mode 100644
index bab95b860c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/MainViewController.xib
+++ /dev/null
@@ -1,158 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="12E55" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
- <dependencies>
- <deployment defaultVersion="1072" identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIApplication"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <window opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" visibleAtLaunch="YES" id="20">
- <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- <connections>
- <outlet property="rootViewController" destination="21" id="22"/>
- </connections>
- </window>
- <viewController id="21" customClass="MainViewController">
- <view key="view" contentMode="scaleToFill" id="1">
- <rect key="frame" x="0.0" y="0.0" width="320" height="560"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Activate Stubs Globally" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="7">
- <rect key="frame" x="20" y="40" width="177" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="5">
- <rect key="frame" x="246" y="37" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="toggleStubs:" destination="21" eventType="valueChanged" id="23"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Fake 2s Delay" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="15">
- <rect key="frame" x="20" y="75" width="109" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="17">
- <rect key="frame" x="144" y="72" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- </switch>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="29">
- <rect key="frame" x="231" y="69" width="69" height="35"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Clear">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="clearResults" destination="21" eventType="touchUpInside" id="31"/>
- </connections>
- </button>
- <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" id="6">
- <rect key="frame" x="20" y="170" width="280" height="188"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- <fontDescription key="fontDescription" name="Menlo-Regular" family="Menlo" pointSize="12"/>
- <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
- </textView>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" id="9">
- <rect key="frame" x="20" y="425" width="280" height="115"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- </imageView>
- <view contentMode="scaleToFill" id="56B-Sg-JRy">
- <rect key="frame" x="20" y="366" width="280" height="55"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
- <subviews>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="Llz-IP-qMB">
- <rect key="frame" x="224" y="20" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="installImageStub:" destination="21" eventType="valueChanged" id="l07-IE-Bbh"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="44">
- <rect key="frame" x="201" y="0.0" width="79" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="8">
- <rect key="frame" x="0.0" y="9" width="176" height="37"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Download image">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadImage:" destination="21" eventType="touchUpInside" id="33"/>
- </connections>
- </button>
- </subviews>
- <color key="backgroundColor" white="0.94548357664233584" alpha="1" colorSpace="calibratedWhite"/>
- </view>
- <view contentMode="scaleToFill" id="P7g-mD-orR">
- <rect key="frame" x="20" y="111" width="280" height="55"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4">
- <rect key="frame" x="0.0" y="9" width="176" height="37"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Download some text">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadText:" destination="21" eventType="touchUpInside" id="32"/>
- </connections>
- </button>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" id="43">
- <rect key="frame" x="201" y="0.0" width="79" height="21"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="41">
- <rect key="frame" x="224" y="20" width="51" height="31"/>
- <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
- <connections>
- <action selector="installTextStub:" destination="21" eventType="valueChanged" id="45"/>
- </connections>
- </switch>
- </subviews>
- <color key="backgroundColor" white="0.94548357664233584" alpha="1" colorSpace="calibratedWhite"/>
- </view>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- </view>
- <extendedEdge key="edgesForExtendedLayout"/>
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
- <nil key="simulatedTopBarMetrics"/>
- <nil key="simulatedBottomBarMetrics"/>
- <simulatedOrientationMetrics key="simulatedOrientationMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <connections>
- <outlet property="delaySwitch" destination="17" id="26"/>
- <outlet property="imageView" destination="9" id="25"/>
- <outlet property="installImageStubSwitch" destination="Llz-IP-qMB" id="BDS-xd-SzF"/>
- <outlet property="installTextStubSwitch" destination="41" id="47"/>
- <outlet property="textView" destination="6" id="24"/>
- </connections>
- </viewController>
- </objects>
-</document> \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj
deleted file mode 100644
index d79722eabb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,385 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 0984831517805426002A99FF /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0984831417805426002A99FF /* CFNetwork.framework */; };
- 098FBDD415D704E800623941 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD315D704E800623941 /* UIKit.framework */; };
- 098FBDD615D704E800623941 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD515D704E800623941 /* Foundation.framework */; };
- 098FBDD815D704E800623941 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 098FBDD715D704E800623941 /* CoreGraphics.framework */; };
- 098FBDE015D704E800623941 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 098FBDDF15D704E800623941 /* main.m */; };
- 098FBDED15D7056200623941 /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 098FBDEB15D7056200623941 /* MainViewController.m */; };
- 098FBDEE15D7056200623941 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDEC15D7056200623941 /* MainViewController.xib */; };
- 098FBDF815D70E2600623941 /* stub.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDF615D70E2600623941 /* stub.jpg */; };
- 098FBDF915D70E2600623941 /* stub.txt in Resources */ = {isa = PBXBuildFile; fileRef = 098FBDF715D70E2600623941 /* stub.txt */; };
- 099C7343169016D800239880 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 099C7342169016D800239880 /* Default-568h@2x.png */; };
- 76C30541E2A1B24B6848F032 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 0984831417805426002A99FF /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
- 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OHHTTPStubsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 098FBDD315D704E800623941 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
- 098FBDD515D704E800623941 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 098FBDD715D704E800623941 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 098FBDDB15D704E800623941 /* OHHTTPStubsDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubsDemo-Info.plist"; sourceTree = "<group>"; };
- 098FBDDF15D704E800623941 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- 098FBDE115D704E800623941 /* OHHTTPStubsDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsDemo-Prefix.pch"; sourceTree = "<group>"; };
- 098FBDEA15D7056200623941 /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
- 098FBDEB15D7056200623941 /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
- 098FBDEC15D7056200623941 /* MainViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainViewController.xib; sourceTree = "<group>"; };
- 098FBDF615D70E2600623941 /* stub.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = stub.jpg; sourceTree = "<group>"; };
- 098FBDF715D70E2600623941 /* stub.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stub.txt; sourceTree = "<group>"; };
- 099C7342169016D800239880 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
- 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
- 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 48556A011AA6E9FD0074B154 /* libPods-OHHTTPStubs.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libPods-OHHTTPStubs.a"; path = "Pods/../build/Debug-iphoneos/libPods-OHHTTPStubs.a"; sourceTree = "<group>"; };
- B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 098FBDCC15D704E800623941 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 0984831517805426002A99FF /* CFNetwork.framework in Frameworks */,
- 098FBDD415D704E800623941 /* UIKit.framework in Frameworks */,
- 098FBDD615D704E800623941 /* Foundation.framework in Frameworks */,
- 098FBDD815D704E800623941 /* CoreGraphics.framework in Frameworks */,
- 76C30541E2A1B24B6848F032 /* libPods.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 098FBDC415D704E800623941 = {
- isa = PBXGroup;
- children = (
- 098FBDD915D704E800623941 /* OHHTTPStubsDemo */,
- 098FBDD215D704E800623941 /* Frameworks */,
- 098FBDD015D704E800623941 /* Products */,
- DBC538A23E8B9FD8D58D30B1 /* Pods */,
- );
- sourceTree = "<group>";
- };
- 098FBDD015D704E800623941 /* Products */ = {
- isa = PBXGroup;
- children = (
- 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- 098FBDD215D704E800623941 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 48556A011AA6E9FD0074B154 /* libPods-OHHTTPStubs.a */,
- 0984831417805426002A99FF /* CFNetwork.framework */,
- 098FBDD315D704E800623941 /* UIKit.framework */,
- 098FBDD515D704E800623941 /* Foundation.framework */,
- 098FBDD715D704E800623941 /* CoreGraphics.framework */,
- 1B8BA1C0EA8F8EC24B9024E1 /* libPods.a */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 098FBDD915D704E800623941 /* OHHTTPStubsDemo */ = {
- isa = PBXGroup;
- children = (
- 098FBDEA15D7056200623941 /* MainViewController.h */,
- 098FBDEB15D7056200623941 /* MainViewController.m */,
- 098FBDEC15D7056200623941 /* MainViewController.xib */,
- 098FBDFA15D70E2F00623941 /* Stubs */,
- 098FBDDA15D704E800623941 /* Supporting Files */,
- );
- name = OHHTTPStubsDemo;
- sourceTree = "<group>";
- };
- 098FBDDA15D704E800623941 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 099C7342169016D800239880 /* Default-568h@2x.png */,
- 098FBDDB15D704E800623941 /* OHHTTPStubsDemo-Info.plist */,
- 098FBDDF15D704E800623941 /* main.m */,
- 098FBDE115D704E800623941 /* OHHTTPStubsDemo-Prefix.pch */,
- );
- path = "Supporting Files";
- sourceTree = "<group>";
- };
- 098FBDFA15D70E2F00623941 /* Stubs */ = {
- isa = PBXGroup;
- children = (
- 098FBDF615D70E2600623941 /* stub.jpg */,
- 098FBDF715D70E2600623941 /* stub.txt */,
- );
- path = Stubs;
- sourceTree = "<group>";
- };
- DBC538A23E8B9FD8D58D30B1 /* Pods */ = {
- isa = PBXGroup;
- children = (
- B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */,
- 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 098FBDCE15D704E800623941 /* OHHTTPStubsDemo */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 098FBDE715D704E800623941 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */;
- buildPhases = (
- 5BF07CD1F1DEB3893534CA6D /* Check Pods Manifest.lock */,
- 098FBDCB15D704E800623941 /* Sources */,
- 098FBDCC15D704E800623941 /* Frameworks */,
- 098FBDCD15D704E800623941 /* Resources */,
- D61C918AA467A72C9C508B4E /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubsDemo;
- productName = OHHTTPStubsDemo;
- productReference = 098FBDCF15D704E800623941 /* OHHTTPStubsDemo.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 098FBDC615D704E800623941 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- };
- buildConfigurationList = 098FBDC915D704E800623941 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 098FBDC415D704E800623941;
- productRefGroup = 098FBDD015D704E800623941 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 098FBDCE15D704E800623941 /* OHHTTPStubsDemo */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 098FBDCD15D704E800623941 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 098FBDEE15D7056200623941 /* MainViewController.xib in Resources */,
- 098FBDF815D70E2600623941 /* stub.jpg in Resources */,
- 098FBDF915D70E2600623941 /* stub.txt in Resources */,
- 099C7343169016D800239880 /* Default-568h@2x.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 5BF07CD1F1DEB3893534CA6D /* 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;
- };
- D61C918AA467A72C9C508B4E /* 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/Pods-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 098FBDCB15D704E800623941 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 098FBDE015D704E800623941 /* main.m in Sources */,
- 098FBDED15D7056200623941 /* MainViewController.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 098FBDE515D704E800623941 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "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;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
- GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
- GCC_WARN_SHADOW = YES;
- GCC_WARN_SIGN_COMPARE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNKNOWN_PRAGMAS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- ONLY_ACTIVE_ARCH = YES;
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 098FBDE615D704E800623941 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = YES;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES;
- GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
- GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
- GCC_WARN_SHADOW = YES;
- GCC_WARN_SIGN_COMPARE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNKNOWN_PRAGMAS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
- OTHER_LDFLAGS = "-ObjC";
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 098FBDE815D704E800623941 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B5AD292FAB98FC9C7637896A /* Pods.debug.xcconfig */;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- 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;
- };
- name = Debug;
- };
- 098FBDE915D704E800623941 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 0EE81E095FF3A8AF6D3C4E77 /* Pods.release.xcconfig */;
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- 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;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 098FBDC915D704E800623941 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 098FBDE515D704E800623941 /* Debug */,
- 098FBDE615D704E800623941 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 098FBDE715D704E800623941 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 098FBDE815D704E800623941 /* Debug */,
- 098FBDE915D704E800623941 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 098FBDC615D704E800623941 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 68ace104de..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme
deleted file mode 100644
index 41f5f1bbc6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Demo.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
- LastUpgradeVersion = "0630"
- 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>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Tests"
- ReferencedContainer = "container:../OHHTTPStubs/OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES"
- buildConfiguration = "Debug">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- BuildableName = "OHHTTPStubs iOS Tests.xctest"
- BlueprintName = "OHHTTPStubs iOS Tests"
- ReferencedContainer = "container:../OHHTTPStubs/OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "098FBDCE15D704E800623941"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </TestAction>
- <LaunchAction
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- launchStyle = "0"
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Debug"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugXPCServices = "NO"
- 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
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- buildConfiguration = "Release"
- 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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
deleted file mode 100644
index e23833bf24..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
+++ /dev/null
@@ -1,92 +0,0 @@
-<?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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index cfc0e73f1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile
deleted file mode 100644
index 30504595e8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile
+++ /dev/null
@@ -1,6 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubsDemo.xcodeproj'
-platform :ios, '6.0'
-
-pod 'OHHTTPStubs', :path => '../..'
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock
deleted file mode 100644
index 0d7e09fc56..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Podfile.lock
+++ /dev/null
@@ -1,26 +0,0 @@
-PODS:
- - 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 `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json
deleted file mode 100644
index a1bed26164..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+++ /dev/null
@@ -1,112 +0,0 @@
-{
- "name": "OHHTTPStubs",
- "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",
- "homepage": "https://github.com/AliSoftware/OHHTTPStubs",
- "license": "MIT",
- "authors": {
- "Olivier Halligon": "olivier.halligon+ae@gmail.com"
- },
- "source": {
- "git": "https://github.com/AliSoftware/OHHTTPStubs.git",
- "tag": "4.3.0"
- },
- "frameworks": [
- "Foundation",
- "CFNetwork"
- ],
- "requires_arc": true,
- "platforms": {
- "ios": "5.0",
- "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"
- }
- ]
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock
deleted file mode 100644
index 0d7e09fc56..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock
+++ /dev/null
@@ -1,26 +0,0 @@
-PODS:
- - 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 `../..`)
-
-EXTERNAL SOURCES:
- OHHTTPStubs:
- :path: "../.."
-
-SPEC CHECKSUMS:
- OHHTTPStubs: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index cf0b52702f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,587 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 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 */
- 527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E19A1FD189B51F90DC11A06D80A7C026;
- remoteInfo = OHHTTPStubs;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 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 */
- BD8104109F63444BD0B66D1B85C72751 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- EC9B9515AB1F864E5A329A33486C63D8 /* CFNetwork.framework in Frameworks */,
- B5248AD1AEB29FFE46C05ECE6703FD8A /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- F9449BFF91161A11298A873124980F7D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 93ED78687FB436C0E1C67C7193F10BCB /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 35D0D8F406529065559CB5CD4B277012 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- B7AD2479593204FB5293377C5548E8C3 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- A4692D0E73946F1C6A29E627D41155D5 /* iOS */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 45CE3E982C05C186D577713C5CF90A63 /* JSON */ = {
- isa = PBXGroup;
- children = (
- 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>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- F2B814913C4EECE2CDF158DE5C5AC6E8 /* Development Pods */,
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- D2411A5FE7F7A004607BED49990C37F4 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 952EEBFAF8F7E620423C9F156F25A506 /* Pods */ = {
- isa = PBXGroup;
- children = (
- 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 */
- E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 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 */
- E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
- buildPhases = (
- 66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */,
- BD8104109F63444BD0B66D1B85C72751 /* Frameworks */,
- E0C132D514FE0B30BA92AD266CEC35F8 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubs;
- productName = OHHTTPStubs;
- productReference = 8CC02379560741ADEBB3E24DA76004E3 /* libOHHTTPStubs.a */;
- productType = "com.apple.product-type.library.static";
- };
- FFD149523A9D16FB1E726210A9C872FC /* Pods */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */;
- buildPhases = (
- 29DD92242A61804BCA84214771D58D9B /* Sources */,
- F9449BFF91161A11298A873124980F7D /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */,
- );
- name = Pods;
- productName = Pods;
- productReference = 3C30B23DD14BEA3D5EC7DC9AA7E01768 /* libPods.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */,
- FFD149523A9D16FB1E726210A9C872FC /* Pods */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 29DD92242A61804BCA84214771D58D9B /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CA2E9623C22F6149A0E4C039FBC39A33 /* Pods-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 66A8A0D15149F7DB5FB46D4FADFB5A57 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 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 */
- B0F80A01227BC75406A68FF3D7DB0C1B /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = OHHTTPStubs;
- target = E19A1FD189B51F90DC11A06D80A7C026 /* OHHTTPStubs */;
- targetProxy = 527428CDE6746E4EA4EC2AE60A4CEBDD /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 6569F07DC21AD8B72752685013E3D9D8 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- 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 = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- 68B9225633DFABE510A0C51A49859EBE /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 30A92272B1F4F40F4CCFE0B67204C034 /* Pods.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 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;
- 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 = 6.0;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- 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 */
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 6569F07DC21AD8B72752685013E3D9D8 /* Debug */,
- A14E2444F162A20E3776820E0ADFFB52 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 5260668AEF58A33255CC8EBE86194E57 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E16756337AAA514FE0E1E27E43F8454E /* Debug */,
- 8346BEDEFE980E2571B693A7BD7DC2A7 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 761A2B390EC86BEE580BAA85EB78C69C /* Build configuration list for PBXNativeTarget "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 68B9225633DFABE510A0C51A49859EBE /* Debug */,
- 96540C4820CBFD733119ECB1A3D96FCA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
deleted file mode 100644
index 39df59c3c9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index b9b8578c7f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
deleted file mode 100644
index 4deafde22c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
deleted file mode 100644
index a14c030722..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index 8fb40d2e94..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-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 = ${PODS_OHHTTPSTUBS_OTHER_LDFLAGS} -ObjC
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
deleted file mode 100644
index 6e93a65cc8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
deleted file mode 100644
index 95cf11d9fb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
deleted file mode 100644
index de1d241adc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
deleted file mode 100644
index 79d3603ad7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
+++ /dev/null
@@ -1,15 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## OHHTTPStubs
-
-- MIT LICENSE -
-
-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.
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
deleted file mode 100644
index 756aa4392a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>- MIT LICENSE -
-
-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.</string>
- <key>Title</key>
- <string>OHHTTPStubs</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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m
deleted file mode 100644
index ade64bd1a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods : NSObject
-@end
-@implementation PodsDummy_Pods
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h
deleted file mode 100644
index 5918510c4e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-environment.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// OHHTTPStubs
-#define COCOAPODS_POD_AVAILABLE_OHHTTPStubs
-#define COCOAPODS_VERSION_MAJOR_OHHTTPStubs 4
-#define COCOAPODS_VERSION_MINOR_OHHTTPStubs 0
-#define COCOAPODS_VERSION_PATCH_OHHTTPStubs 1
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/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
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig
deleted file mode 100644
index 722a231f1e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig
deleted file mode 100644
index 722a231f1e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods/Pods.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg
deleted file mode 100644
index c42a21cd74..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt
deleted file mode 100644
index e662f91b23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the text from your stub.
-
-Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png
deleted file mode 100644
index 0891b7aabf..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist
deleted file mode 100644
index 25bfd55966..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Info.plist
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleDisplayName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>NSMainNibFile</key>
- <string>MainViewController</string>
- <key>UIRequiredDeviceCapabilities</key>
- <array>
- <string>armv7</string>
- </array>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch
deleted file mode 100644
index 20ef719789..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Prefix header for all source files of the 'OHHTTPStubsDemo' target in the 'OHHTTPStubsDemo' project
-//
-
-#import <Availability.h>
-
-#ifndef __IPHONE_3_0
-#warning "This project uses features only available in iOS SDK 3.0 and later."
-#endif
-
-#ifdef __OBJC__
- #import <UIKit/UIKit.h>
- #import <Foundation/Foundation.h>
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m b/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m
deleted file mode 100644
index 478bfb3959..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// main.m
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 11/08/12.
-// Copyright (c) 2012 AliSoftware. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-
-int main(int argc, char *argv[])
-{
- @autoreleasepool {
- return UIApplicationMain(argc, argv, nil, nil);
- }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift
deleted file mode 100644
index 58f489a7d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/AppDelegate.swift
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// AppDelegate.swift
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 18/04/2015.
-// Copyright (c) 2015 AliSoftware. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
- var window: UIWindow?
-
- func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
- // Override point for customization after application launch.
- return true
- }
-}
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard
deleted file mode 100644
index 438521ca5c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Main.storyboard
+++ /dev/null
@@ -1,196 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7531" systemVersion="14C1514" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7520"/>
- <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
- </dependencies>
- <scenes>
- <!--Main View Controller-->
- <scene sceneID="tne-QT-ifu">
- <objects>
- <viewController id="BYZ-38-t0r" customClass="MainViewController" customModule="OHHTTPStubsDemo" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
- <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
- <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Activate Stubs Globally" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" preferredMaxLayoutWidth="300" translatesAutoresizingMaskIntoConstraints="NO" id="i3Q-pZ-OFi">
- <rect key="frame" x="73" y="33" width="511" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="l60-ZM-CS7">
- <rect key="frame" x="16" y="28" width="51" height="31"/>
- <connections>
- <action selector="toggleStubs:" destination="BYZ-38-t0r" eventType="valueChanged" id="Ab8-ba-nES"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Fake 2s Delay" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="BVp-fP-EX3">
- <rect key="frame" x="73" y="72" width="434" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" horizontalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Ots-uz-HBP">
- <rect key="frame" x="16" y="67" width="51" height="31"/>
- </switch>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bd2-S0-6oU">
- <rect key="frame" x="515" y="68" width="69" height="30"/>
- <constraints>
- <constraint firstAttribute="width" constant="69" id="05U-TI-0b3"/>
- </constraints>
- <state key="normal" title="Clear">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="clearResults" destination="BYZ-38-t0r" eventType="touchUpInside" id="aLh-6y-PPp"/>
- </connections>
- </button>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="q0d-yd-8pd">
- <rect key="frame" x="16" y="106" width="568" height="55"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cHe-gS-w8n">
- <rect key="frame" x="13" y="5" width="481" height="45"/>
- <state key="normal" title="Download some text">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadText:" destination="BYZ-38-t0r" eventType="touchUpInside" id="HfU-ap-tEC"/>
- </connections>
- </button>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggingPriority="750" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CZL-1L-SlS">
- <rect key="frame" x="485" y="2" width="63" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eja-cQ-oUU">
- <rect key="frame" x="499" y="22" width="51" height="31"/>
- <connections>
- <action selector="installTextStub:" destination="BYZ-38-t0r" eventType="valueChanged" id="2pl-wJ-iCQ"/>
- </connections>
- </switch>
- </subviews>
- <color key="backgroundColor" white="0.94548357660000004" alpha="1" colorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="eja-cQ-oUU" secondAttribute="bottom" constant="2" id="29H-MG-Fxf"/>
- <constraint firstItem="eja-cQ-oUU" firstAttribute="top" secondItem="CZL-1L-SlS" secondAttribute="bottom" id="3wI-sk-26n"/>
- <constraint firstItem="cHe-gS-w8n" firstAttribute="leading" secondItem="q0d-yd-8pd" secondAttribute="leadingMargin" constant="5" id="Hwa-qe-ZOQ"/>
- <constraint firstAttribute="trailing" secondItem="eja-cQ-oUU" secondAttribute="trailing" constant="20" symbolic="YES" id="Khb-si-DNH"/>
- <constraint firstAttribute="bottom" secondItem="cHe-gS-w8n" secondAttribute="bottom" constant="5" id="S92-MO-7X2"/>
- <constraint firstItem="cHe-gS-w8n" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="top" constant="5" id="bbu-UH-GkB"/>
- <constraint firstItem="eja-cQ-oUU" firstAttribute="leading" secondItem="cHe-gS-w8n" secondAttribute="trailing" constant="5" id="gjH-jS-L0Y"/>
- <constraint firstItem="CZL-1L-SlS" firstAttribute="trailing" secondItem="eja-cQ-oUU" secondAttribute="trailing" id="p7j-wp-ICC"/>
- <constraint firstAttribute="height" constant="55" id="qXE-il-74X"/>
- <constraint firstAttribute="trailing" secondItem="CZL-1L-SlS" secondAttribute="trailing" constant="8" id="rgi-Il-D0e"/>
- <constraint firstItem="CZL-1L-SlS" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="top" constant="2" id="wN6-Rr-Qrd"/>
- </constraints>
- <variation key="default">
- <mask key="constraints">
- <exclude reference="rgi-Il-D0e"/>
- </mask>
- </variation>
- </view>
- <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ruy-AH-zcs">
- <rect key="frame" x="16" y="169" width="568" height="176"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- <fontDescription key="fontDescription" name="Menlo-Regular" family="Menlo" pointSize="12"/>
- <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
- </textView>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GvE-e2-Eos">
- <rect key="frame" x="16" y="353" width="568" height="55"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c9w-hC-ZIo">
- <rect key="frame" x="13" y="5" width="478" height="45"/>
- <state key="normal" title="Download image">
- <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <state key="disabled" title="Downloading…">
- <color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
- </state>
- <connections>
- <action selector="downloadImage:" destination="BYZ-38-t0r" eventType="touchUpInside" id="UM4-Du-Bbb"/>
- </connections>
- </button>
- <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ji5-SF-Rck">
- <rect key="frame" x="499" y="22" width="51" height="31"/>
- <connections>
- <action selector="installImageStub:" destination="BYZ-38-t0r" eventType="valueChanged" id="B56-KR-Iwy"/>
- </connections>
- </switch>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Stub installed?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WaM-eo-B4Y">
- <rect key="frame" x="485" y="2" width="63" height="20"/>
- <fontDescription key="fontDescription" type="system" pointSize="9"/>
- <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="0.94548357660000004" alpha="1" colorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="ji5-SF-Rck" firstAttribute="top" secondItem="WaM-eo-B4Y" secondAttribute="bottom" id="4ga-4o-xtr"/>
- <constraint firstItem="c9w-hC-ZIo" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="top" constant="5" id="62E-jh-E4B"/>
- <constraint firstItem="ji5-SF-Rck" firstAttribute="leading" secondItem="c9w-hC-ZIo" secondAttribute="trailing" constant="8" symbolic="YES" id="8lX-bA-JCe"/>
- <constraint firstItem="c9w-hC-ZIo" firstAttribute="leading" secondItem="GvE-e2-Eos" secondAttribute="leadingMargin" constant="5" id="Dyb-rO-JJU"/>
- <constraint firstAttribute="trailing" secondItem="ji5-SF-Rck" secondAttribute="trailing" constant="20" symbolic="YES" id="Fkp-ob-fLN"/>
- <constraint firstAttribute="bottom" secondItem="ji5-SF-Rck" secondAttribute="bottom" constant="2" id="R9M-DJ-mIm"/>
- <constraint firstAttribute="height" constant="55" id="Ro0-sY-nDW"/>
- <constraint firstItem="WaM-eo-B4Y" firstAttribute="trailing" secondItem="ji5-SF-Rck" secondAttribute="trailing" id="ZxJ-2X-ePH"/>
- <constraint firstAttribute="bottom" secondItem="c9w-hC-ZIo" secondAttribute="bottom" constant="5" id="jdz-li-ys1"/>
- <constraint firstItem="WaM-eo-B4Y" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="top" constant="2" id="zDu-Go-F4N"/>
- </constraints>
- </view>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="5bj-Tq-WCZ">
- <rect key="frame" x="16" y="416" width="568" height="176"/>
- <color key="backgroundColor" white="0.89892221719999998" alpha="1" colorSpace="calibratedWhite"/>
- </imageView>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="l60-ZM-CS7" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="0j5-Kr-Bap"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="7BB-yF-NDN"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="height" secondItem="ruy-AH-zcs" secondAttribute="height" id="9CM-a2-1St"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="top" secondItem="l60-ZM-CS7" secondAttribute="bottom" constant="8" symbolic="YES" id="9fP-Fh-cY6"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="centerY" secondItem="BVp-fP-EX3" secondAttribute="centerY" id="CuV-xq-bsL"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="top" secondItem="q0d-yd-8pd" secondAttribute="bottom" constant="8" symbolic="YES" id="FAU-LK-lwH"/>
- <constraint firstAttribute="trailingMargin" secondItem="i3Q-pZ-OFi" secondAttribute="trailing" id="Gf3-KX-gvo"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="GwN-Yl-Oe9"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="top" secondItem="Ots-uz-HBP" secondAttribute="bottom" constant="8" symbolic="YES" id="Hte-At-iUc"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="top" secondItem="GvE-e2-Eos" secondAttribute="bottom" constant="8" symbolic="YES" id="JgY-aI-yDT"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="top" secondItem="ruy-AH-zcs" secondAttribute="bottom" constant="8" symbolic="YES" id="Ote-kU-oyl"/>
- <constraint firstItem="l60-ZM-CS7" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="8" symbolic="YES" id="QcO-T9-cgv"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="SC7-du-hgz"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="leading" secondItem="BVp-fP-EX3" secondAttribute="trailing" constant="8" symbolic="YES" id="UId-jY-PGT"/>
- <constraint firstItem="BVp-fP-EX3" firstAttribute="leading" secondItem="Ots-uz-HBP" secondAttribute="trailing" constant="8" symbolic="YES" id="YtW-MD-2HS"/>
- <constraint firstItem="Ots-uz-HBP" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="YzH-tR-2EL"/>
- <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="5bj-Tq-WCZ" secondAttribute="bottom" constant="8" symbolic="YES" id="bkX-5L-yHb"/>
- <constraint firstItem="GvE-e2-Eos" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="e3m-dD-QHe"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="gf8-4V-OtZ"/>
- <constraint firstItem="i3Q-pZ-OFi" firstAttribute="centerY" secondItem="l60-ZM-CS7" secondAttribute="centerY" id="i7p-Mu-Z5w"/>
- <constraint firstItem="Bd2-S0-6oU" firstAttribute="centerY" secondItem="BVp-fP-EX3" secondAttribute="centerY" id="lBr-er-U9M"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="n85-Qw-ILn"/>
- <constraint firstItem="ruy-AH-zcs" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="t7w-mv-dbP"/>
- <constraint firstItem="i3Q-pZ-OFi" firstAttribute="leading" secondItem="l60-ZM-CS7" secondAttribute="trailing" constant="8" symbolic="YES" id="ud7-J3-llm"/>
- <constraint firstItem="q0d-yd-8pd" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="vd3-vh-cO6"/>
- <constraint firstItem="5bj-Tq-WCZ" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="zf9-6C-GJh"/>
- </constraints>
- </view>
- <connections>
- <outlet property="delaySwitch" destination="Ots-uz-HBP" id="bye-pT-jxJ"/>
- <outlet property="imageView" destination="5bj-Tq-WCZ" id="u02-Ml-Ob8"/>
- <outlet property="installImageStubSwitch" destination="ji5-SF-Rck" id="7u3-ya-Crs"/>
- <outlet property="installTextStubSwitch" destination="eja-cQ-oUU" id="Xsi-sG-ivV"/>
- <outlet property="textView" destination="ruy-AH-zcs" id="Gbh-p5-mVt"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
- </objects>
- </scene>
- </scenes>
-</document>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift
deleted file mode 100644
index 9133e20d46..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/MainViewController.swift
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-// ViewController.swift
-// OHHTTPStubsDemo
-//
-// Created by Olivier Halligon on 18/04/2015.
-// Copyright (c) 2015 AliSoftware. All rights reserved.
-//
-
-import UIKit
-import OHHTTPStubs
-
-class MainViewController: UIViewController {
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Outlets
-
- @IBOutlet var delaySwitch: UISwitch!
- @IBOutlet var textView: UITextView!
- @IBOutlet var installTextStubSwitch: UISwitch!
- @IBOutlet var imageView: UIImageView!
- @IBOutlet var installImageStubSwitch: UISwitch!
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Init & Dealloc
-
- override func viewDidLoad() {
- super.viewDidLoad()
-
- installTextStub(self.installTextStubSwitch)
- installImageStub(self.installImageStubSwitch)
- OHHTTPStubs.onStubActivation { (request: NSURLRequest!, stub: OHHTTPStubsDescriptor!) in
- print("[OHHTTPStubs] Request to \(request.URL!) has been stubbed with \(stub.name)")
- }
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Global stubs activation
-
- @IBAction func toggleStubs(sender: UISwitch) {
- OHHTTPStubs.setEnabled(sender.on)
- self.delaySwitch.enabled = sender.on
- self.installTextStubSwitch.enabled = sender.on
- self.installImageStubSwitch.enabled = sender.on
-
- let state = sender.on ? "and enabled" : "but disabled"
- print("Installed (\(state)) stubs: \(OHHTTPStubs.allStubs)")
- }
-
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Text Download and Stub
-
-
- @IBAction func downloadText(sender: UIButton) {
- sender.enabled = false
- self.textView.text = nil
-
- let urlString = "http://www.opensource.apple.com/source/Git/Git-26/src/git-htmldocs/git-commit.txt?txt"
- let req = NSURLRequest(URL: NSURL(string: urlString)!)
-
- NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
- sender.enabled = true
- if let receivedData = data, receivedText = NSString(data: receivedData, encoding: NSASCIIStringEncoding) {
- self.textView.text = receivedText as String
- }
- }
- }
-
- weak var textStub: OHHTTPStubsDescriptor?
- @IBAction func installTextStub(sender: UISwitch) {
- if sender.on {
- // Install
-
- textStub = stub(isExtension("txt")) { _ in
- let stubPath = OHPathForFile("stub.txt", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"text/plain"])
- .requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime:OHHTTPStubsDownloadSpeedWifi)
- }
- textStub?.name = "Text stub"
- } else {
- // Uninstall
- OHHTTPStubs.removeStub(textStub!)
- }
- }
-
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Image Download and Stub
-
- @IBAction func downloadImage(sender: UIButton) {
- sender.enabled = false
- self.imageView.image = nil
-
- let urlString = "http://images.apple.com/support/assets/images/products/iphone/hero_iphone4-5_wide.png"
- let req = NSURLRequest(URL: NSURL(string: urlString)!)
-
- NSURLConnection.sendAsynchronousRequest(req, queue: NSOperationQueue.mainQueue()) { (_, data, _) in
- sender.enabled = true
- if let receivedData = data {
- self.imageView.image = UIImage(data: receivedData)
- }
- }
- }
-
- weak var imageStub: OHHTTPStubsDescriptor?
- @IBAction func installImageStub(sender: UISwitch) {
- if sender.on {
- // Install
-
- imageStub = stub(isExtension("png") || isExtension("jpg") || isExtension("gif")) { _ in
- let stubPath = OHPathForFile("stub.jpg", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"image/jpeg"])
- .requestTime(self.delaySwitch.on ? 2.0 : 0.0, responseTime: OHHTTPStubsDownloadSpeedWifi)
- }
- imageStub?.name = "Image stub"
- } else {
- // Uninstall
- OHHTTPStubs.removeStub(imageStub!)
- }
- }
-
- ////////////////////////////////////////////////////////////////////////////////
- // MARK: - Cleaning
-
- @IBAction func clearResults() {
- self.textView.text = ""
- self.imageView.image = nil
- }
-
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj
deleted file mode 100644
index 48a07864e3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,382 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 099F74141AE2D049001108A5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 099F74131AE2D049001108A5 /* Images.xcassets */; };
- 099F742F1AE2D572001108A5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 099F742D1AE2D572001108A5 /* Main.storyboard */; };
- 099F74351AE2D5EB001108A5 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */; };
- 099F74391AE2D5FF001108A5 /* stub.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 099F74371AE2D5FF001108A5 /* stub.jpg */; };
- 099F743A1AE2D5FF001108A5 /* stub.txt in Resources */ = {isa = PBXBuildFile; fileRef = 099F74381AE2D5FF001108A5 /* stub.txt */; };
- 099F743C1AE2D632001108A5 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 099F743B1AE2D632001108A5 /* Default-568h@2x.png */; };
- 099F74401AE2D703001108A5 /* MainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 099F740E1AE2D049001108A5 /* MainViewController.swift */; };
- 099F74421AE2D7E0001108A5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 099F74411AE2D7E0001108A5 /* AppDelegate.swift */; };
- 33ABB39721D2012BFC1F5077 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6C6334E088CD830EF8D38DB /* Pods.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OHHTTPStubsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 099F740B1AE2D049001108A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
- 099F740E1AE2D049001108A5 /* MainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainViewController.swift; sourceTree = "<group>"; };
- 099F74131AE2D049001108A5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
- 099F742D1AE2D572001108A5 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
- 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = "<group>"; };
- 099F74371AE2D5FF001108A5 /* stub.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = stub.jpg; sourceTree = "<group>"; };
- 099F74381AE2D5FF001108A5 /* stub.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = stub.txt; sourceTree = "<group>"; };
- 099F743B1AE2D632001108A5 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "Supporting Files/Default-568h@2x.png"; sourceTree = SOURCE_ROOT; };
- 099F74411AE2D7E0001108A5 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
- D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
- DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
- F6C6334E088CD830EF8D38DB /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 099F74041AE2D049001108A5 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33ABB39721D2012BFC1F5077 /* Pods.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 099F73FE1AE2D049001108A5 = {
- isa = PBXGroup;
- children = (
- 099F74091AE2D049001108A5 /* OHHTTPStubsDemo */,
- 099F74081AE2D049001108A5 /* Products */,
- 11944CD1D5FC771F513B1E27 /* Pods */,
- 3116686BFC89EEC0587776C7 /* Frameworks */,
- );
- sourceTree = "<group>";
- };
- 099F74081AE2D049001108A5 /* Products */ = {
- isa = PBXGroup;
- children = (
- 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- 099F74091AE2D049001108A5 /* OHHTTPStubsDemo */ = {
- isa = PBXGroup;
- children = (
- 099F74411AE2D7E0001108A5 /* AppDelegate.swift */,
- 099F740E1AE2D049001108A5 /* MainViewController.swift */,
- 099F742D1AE2D572001108A5 /* Main.storyboard */,
- 099F74361AE2D5FF001108A5 /* Stubs */,
- 099F740A1AE2D049001108A5 /* Supporting Files */,
- );
- name = OHHTTPStubsDemo;
- sourceTree = "<group>";
- };
- 099F740A1AE2D049001108A5 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 099F743B1AE2D632001108A5 /* Default-568h@2x.png */,
- 099F74341AE2D5EB001108A5 /* LaunchScreen.xib */,
- 099F74131AE2D049001108A5 /* Images.xcassets */,
- 099F740B1AE2D049001108A5 /* Info.plist */,
- );
- path = "Supporting Files";
- sourceTree = "<group>";
- };
- 099F74361AE2D5FF001108A5 /* Stubs */ = {
- isa = PBXGroup;
- children = (
- 099F74371AE2D5FF001108A5 /* stub.jpg */,
- 099F74381AE2D5FF001108A5 /* stub.txt */,
- );
- path = Stubs;
- sourceTree = "<group>";
- };
- 11944CD1D5FC771F513B1E27 /* Pods */ = {
- isa = PBXGroup;
- children = (
- D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */,
- DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
- 3116686BFC89EEC0587776C7 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F6C6334E088CD830EF8D38DB /* Pods.framework */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 099F74061AE2D049001108A5 /* OHHTTPStubsDemo */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 099F74261AE2D049001108A5 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */;
- buildPhases = (
- BC9F93D044C7E42A3DAD6455 /* Check Pods Manifest.lock */,
- 099F74031AE2D049001108A5 /* Sources */,
- 099F74041AE2D049001108A5 /* Frameworks */,
- 099F74051AE2D049001108A5 /* Resources */,
- D95367D5DC075A18A3D27355 /* Embed Pods Frameworks */,
- 5D1017B32E55D59BD180A034 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubsDemo;
- productName = OHHTTPStubsDemo;
- productReference = 099F74071AE2D049001108A5 /* OHHTTPStubsDemo.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 099F73FF1AE2D049001108A5 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- TargetAttributes = {
- 099F74061AE2D049001108A5 = {
- CreatedOnToolsVersion = 6.3;
- };
- };
- };
- buildConfigurationList = 099F74021AE2D049001108A5 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 099F73FE1AE2D049001108A5;
- productRefGroup = 099F74081AE2D049001108A5 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 099F74061AE2D049001108A5 /* OHHTTPStubsDemo */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 099F74051AE2D049001108A5 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 099F74351AE2D5EB001108A5 /* LaunchScreen.xib in Resources */,
- 099F74391AE2D5FF001108A5 /* stub.jpg in Resources */,
- 099F742F1AE2D572001108A5 /* Main.storyboard in Resources */,
- 099F74141AE2D049001108A5 /* Images.xcassets in Resources */,
- 099F743A1AE2D5FF001108A5 /* stub.txt in Resources */,
- 099F743C1AE2D632001108A5 /* Default-568h@2x.png in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 5D1017B32E55D59BD180A034 /* 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/Pods-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
- BC9F93D044C7E42A3DAD6455 /* 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;
- };
- D95367D5DC075A18A3D27355 /* Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Embed Pods Frameworks";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 099F74031AE2D049001108A5 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 099F74421AE2D7E0001108A5 /* AppDelegate.swift in Sources */,
- 099F74401AE2D703001108A5 /* MainViewController.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 099F74241AE2D049001108A5 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.3;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 099F74251AE2D049001108A5 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.3;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 099F74271AE2D049001108A5 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = D1819A3B2BCA81021164F097 /* Pods.debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- 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;
- };
- 099F74281AE2D049001108A5 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = DC1FF3E7FE2F711D9C9AD066 /* Pods.release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- 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;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 099F74021AE2D049001108A5 /* Build configuration list for PBXProject "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 099F74241AE2D049001108A5 /* Debug */,
- 099F74251AE2D049001108A5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 099F74261AE2D049001108A5 /* Build configuration list for PBXNativeTarget "OHHTTPStubsDemo" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 099F74271AE2D049001108A5 /* Debug */,
- 099F74281AE2D049001108A5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 099F73FF1AE2D049001108A5 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 919434a625..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
deleted file mode 100644
index 870383aff8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/xcshareddata/xcschemes/OHHTTPStubsDemo.xcscheme
+++ /dev/null
@@ -1,91 +0,0 @@
-<?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 = "099F74061AE2D049001108A5"
- 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 = "099F74061AE2D049001108A5"
- 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"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <BuildableProductRunnable
- runnableDebuggingMode = "0">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "099F74061AE2D049001108A5"
- 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 = "099F74061AE2D049001108A5"
- BuildableName = "OHHTTPStubsDemo.app"
- BlueprintName = "OHHTTPStubsDemo"
- ReferencedContainer = "container:OHHTTPStubsDemo.xcodeproj">
- </BuildableReference>
- </BuildableProductRunnable>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index cfc0e73f1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubsDemo.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile
deleted file mode 100644
index 17dfc0103f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile
+++ /dev/null
@@ -1,8 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubsDemo.xcodeproj'
-platform :ios, '8.0'
-use_frameworks!
-
-pod 'OHHTTPStubs', :path => '../..'
-pod 'OHHTTPStubs/Swift', :path => '../..'
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock
deleted file mode 100644
index 834a7de58b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Podfile.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - 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: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
deleted file mode 120000
index 7a6d07a0a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/Compatibility.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/Compatibility.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index f976df50d7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 81aae9624d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
deleted file mode 120000
index e466a30930..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 120000
index 55a0a6a468..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
deleted file mode 120000
index 247257b1d8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
deleted file mode 120000
index 773f3f322e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
deleted file mode 120000
index 6a6273c69c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../OHHTTPStubs/Sources/OHPathHelpers.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json
deleted file mode 100644
index a1bed26164..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Local Podspecs/OHHTTPStubs.podspec.json
+++ /dev/null
@@ -1,112 +0,0 @@
-{
- "name": "OHHTTPStubs",
- "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",
- "homepage": "https://github.com/AliSoftware/OHHTTPStubs",
- "license": "MIT",
- "authors": {
- "Olivier Halligon": "olivier.halligon+ae@gmail.com"
- },
- "source": {
- "git": "https://github.com/AliSoftware/OHHTTPStubs.git",
- "tag": "4.3.0"
- },
- "frameworks": [
- "Foundation",
- "CFNetwork"
- ],
- "requires_arc": true,
- "platforms": {
- "ios": "5.0",
- "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"
- }
- ]
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock
deleted file mode 100644
index 834a7de58b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - 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: 0aec5755528693a165bd616cb79f69387de306a8
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index c30d5eaa4d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,699 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 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 */
- 2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = E4F3908DF65694388E03EE338E6F07FA;
- remoteInfo = OHHTTPStubs;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 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 */
- 6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 4A5277EF28380E91E978DD2088524148 /* CFNetwork.framework in Frameworks */,
- B4554EAE499DFE50903C2D9B08DD484C /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- B23A5673AC7B96172FC957C0EE86C35E /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 26001308FC69575317F3E2328FEAB687 /* OHPathHelpers */ = {
- isa = PBXGroup;
- children = (
- 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>";
- };
- 4C8988BCA515BF21A55FF44EDAA3E021 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- BC61886E3F31F15D9B01758FA65305B7 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */ = {
- isa = PBXGroup;
- children = (
- 8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */,
- );
- name = "Development Pods";
- sourceTree = "<group>";
- };
- 5D1807FCE432BF223191CC0C4D6153D8 /* Sources */ = {
- isa = PBXGroup;
- children = (
- 22CC4B00DBF23E8510640D6E21E1A4BB /* Compatibility.h */,
- 526BDDE02F26D6A21C3A83B38BF77DD8 /* OHHTTPStubs.h */,
- DB4613DB9F32F714B08FD3002ABD191C /* OHHTTPStubs.m */,
- 816F0DF573D42162E8EF6A0478A9AD20 /* OHHTTPStubsResponse.h */,
- 0D2AB23F8DEE2375D8270F8121BB79A4 /* OHHTTPStubsResponse.m */,
- );
- path = Sources;
- sourceTree = "<group>";
- };
- 7518C35D2C3AA6260B56CAFC097A521B /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 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>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- 4EA0C436B902A2172FF4F8F3196A748F /* Development Pods */,
- 433CD3331B6C3787F473C941B61FC68F /* Frameworks */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- B7B80995527643776607AFFA75B91E24 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 891B86CE0EBE541B2C7B947998EE90B3 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- A438C33C2AAB93E303E6682059132F4A /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 8DEC13B28F5FD4DFEEB939C9AA4C87EA /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */,
- FEE70E0F2961F31E9B52D300967F8B6E /* JSON */,
- CA1C072DFF59852F7FB6458D31B28064 /* NSURLSession */,
- 2FD330A03A1D0B761BD13C06863E2D0E /* OHPathHelpers */,
- 406BDF33AD0EDE741B447F9849C05786 /* Support Files */,
- 399E53B6C0258D92AC1FD3AE99008B6E /* Swift */,
- );
- name = OHHTTPStubs;
- path = ../../..;
- sourceTree = "<group>";
- };
- 93A49C76EBA19CF15CC485546C29B1C6 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- A9D1051AFDBF5E4C4D220B819997F065 /* Sources */,
- );
- path = OHHTTPStubs;
- sourceTree = "<group>";
- };
- 985BF658FCDE47E3B9EB88F4AA6FA101 /* Core */ = {
- isa = PBXGroup;
- children = (
- 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 */
- 773392B2C9B39011294EDCA7791E8497 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 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;
- };
- 7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 84C7162BF05BC724A780924027DB3C81 /* Pods-umbrella.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 86C62275EF6F6A139E340789D6F6E477 /* Pods */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */;
- buildPhases = (
- C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */,
- 9FDA97DA87FCDC508CEFD6A216D976A5 /* Frameworks */,
- 7A9A1C09CA01BC9F20220C0D9D9A6A4E /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- 94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */,
- );
- name = Pods;
- productName = Pods;
- productReference = BCE0366425966FB14819C23632E95AC3 /* Pods.framework */;
- productType = "com.apple.product-type.framework";
- };
- E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */;
- buildPhases = (
- 0F226F8A1646BA706F459212FC25E627 /* Sources */,
- 6C9B2B4840401BAA9FF1C1ED50EE4781 /* Frameworks */,
- 773392B2C9B39011294EDCA7791E8497 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = OHHTTPStubs;
- productName = OHHTTPStubs;
- productReference = 4D757121C5A3B1CAF9CF985DC980AF1E /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */,
- 86C62275EF6F6A139E340789D6F6E477 /* Pods */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 0F226F8A1646BA706F459212FC25E627 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 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;
- };
- C165E3FDE37B1538C36C3E8AD6AB0A23 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 75F5A85AE83AE0A724DA8D0D8C6F9B16 /* Pods-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 94D1B597547076E84E38DBF659631C2D /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = OHHTTPStubs;
- target = E4F3908DF65694388E03EE338E6F07FA /* OHHTTPStubs */;
- targetProxy = 2C3B56B01EA7FF98CA038F2723DFF9D8 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 8D8037ED98B93F867F21E1A00E40CA25 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 423AAE6EE3A0BCC7D84AA1359E082EAE /* Pods.release.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 = NO;
- 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 = Release;
- };
- A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- 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 = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- 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;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- 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 */
- 136FDDCDFAE05C936354947EBAA06449 /* Build configuration list for PBXNativeTarget "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- D5363C7463136E690514EA53C85C0C8D /* Debug */,
- 8D8037ED98B93F867F21E1A00E40CA25 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 1D2222AAB7DEC39ECD354B5EC4BFE024 /* Build configuration list for PBXNativeTarget "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- DAF781A30B6956A7D7C315691EC7CB4E /* Debug */,
- AE050CF0675A77F0187F1B57B0216453 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- A70CDAD61F90AC503C7D04CC22DA2923 /* Debug */,
- FB45FFD90572718D82AB9092B750F0CA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
deleted file mode 100644
index 699b998d1c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs.xcscheme
+++ /dev/null
@@ -1,71 +0,0 @@
-<?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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist
deleted file mode 100644
index cea441462f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index cf3a26e1ef..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-#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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
deleted file mode 100644
index 4deafde22c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h
deleted file mode 100644
index d95666a8a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#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[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap
deleted file mode 100644
index 268a7c33d4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module OHHTTPStubs {
- umbrella header "OHHTTPStubs-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
deleted file mode 100644
index a14c030722..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist
deleted file mode 100644
index c10e7eab4f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>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.0.1</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${CURRENT_PROJECT_VERSION}</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
deleted file mode 100644
index 56b72965aa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-Private.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "Pods-OHHTTPStubs.xcconfig"
-CONFIGURATION_BUILD_DIR = $PODS_FRAMEWORK_BUILD_PATH
-FRAMEWORK_SEARCH_PATHS = "$PODS_FRAMEWORK_BUILD_PATH"
-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 = ${PODS_OHHTTPSTUBS_OTHER_LDFLAGS} -ObjC
-PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
deleted file mode 100644
index 6e93a65cc8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
deleted file mode 100644
index 95cf11d9fb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h
deleted file mode 100644
index 28cfb1c4c0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs-umbrella.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#import <UIKit/UIKit.h>
-
-#import "OHHTTPStubs.h"
-#import "OHHTTPStubsResponse+HTTPMessage.h"
-#import "OHHTTPStubsResponse+JSON.h"
-#import "OHHTTPStubsResponse.h"
-#import "OHPathHelpers.h"
-
-FOUNDATION_EXPORT double OHHTTPStubsVersionNumber;
-FOUNDATION_EXPORT const unsigned char OHHTTPStubsVersionString[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap
deleted file mode 100644
index efe706e390..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module OHHTTPStubs {
- umbrella header "Pods-OHHTTPStubs-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
deleted file mode 100644
index de1d241adc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubs/Pods-OHHTTPStubs.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist
deleted file mode 100644
index 6974542586..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>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>1.0.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>${CURRENT_PROJECT_VERSION}</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
deleted file mode 100644
index 79d3603ad7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown
+++ /dev/null
@@ -1,15 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## OHHTTPStubs
-
-- MIT LICENSE -
-
-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.
-Generated by CocoaPods - http://cocoapods.org
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
deleted file mode 100644
index 756aa4392a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-acknowledgements.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>- MIT LICENSE -
-
-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.</string>
- <key>Title</key>
- <string>OHHTTPStubs</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>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m
deleted file mode 100644
index ade64bd1a9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods : NSObject
-@end
-@implementation PodsDummy_Pods
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h
deleted file mode 100644
index 5918510c4e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-environment.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// OHHTTPStubs
-#define COCOAPODS_POD_AVAILABLE_OHHTTPStubs
-#define COCOAPODS_VERSION_MAJOR_OHHTTPStubs 4
-#define COCOAPODS_VERSION_MINOR_OHHTTPStubs 0
-#define COCOAPODS_VERSION_PATCH_OHHTTPStubs 1
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh
deleted file mode 100755
index 91e9c70b4d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-frameworks.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-set -e
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-install_framework()
-{
- 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}")"
- 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}"
-
- # Resign the code if required by the build settings to avoid unstable apps
- code_sign_if_enabled "${destination}/$(basename "$1")"
-
- # Embed linked Swift runtime libraries
- local basename
- 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}/${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}"
- code_sign_if_enabled "${destination}/${lib}"
- done
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
- # Use the current code_sign_identitiy
- echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
- 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 'Pods/OHHTTPStubs.framework'
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
- install_framework 'Pods/OHHTTPStubs.framework'
-fi
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/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
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h
deleted file mode 100644
index 21dcfd2c21..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods-umbrella.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#import <UIKit/UIKit.h>
-
-
-FOUNDATION_EXPORT double PodsVersionNumber;
-FOUNDATION_EXPORT const unsigned char PodsVersionString[];
-
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig
deleted file mode 100644
index a5a034c3e4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.debug.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap
deleted file mode 100644
index 8413413077..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.modulemap
+++ /dev/null
@@ -1,6 +0,0 @@
-framework module Pods {
- umbrella header "Pods-umbrella.h"
-
- export *
- module * { export * }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig
deleted file mode 100644
index a5a034c3e4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods/Pods.release.xcconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg
deleted file mode 100644
index c42a21cd74..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt
deleted file mode 100644
index e662f91b23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Stubs/stub.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the text from your stub.
-
-Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png
deleted file mode 100644
index 0891b7aabf..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png
+++ /dev/null
Binary files differ
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 36d2c80d88..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Images.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "3x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "1x"
- },
- {
- "idiom" : "ipad",
- "size" : "76x76",
- "scale" : "2x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist
deleted file mode 100644
index 0ca4d80efa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/Info.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>LSRequiresIPhoneOS</key>
- <true/>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UIMainStoryboardFile</key>
- <string>Main</string>
- <key>UIRequiredDeviceCapabilities</key>
- <array>
- <string>armv7</string>
- </array>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- </array>
- <key>UISupportedInterfaceOrientations~ipad</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationPortraitUpsideDown</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib b/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib
deleted file mode 100644
index a9be7a994c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Examples/Swift/Supporting Files/LaunchScreen.xib
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
- <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <view contentMode="scaleToFill" id="iN0-l3-epB">
- <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 AliSoftware. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
- <rect key="frame" x="20" y="439" width="441" height="21"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="OHHTTPStubsDemo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
- <rect key="frame" x="20" y="140" width="441" height="43"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
- <constraints>
- <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
- <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
- <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
- <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
- <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
- <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
- </constraints>
- <nil key="simulatedStatusBarMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <point key="canvasLocation" x="548" y="455"/>
- </view>
- </objects>
-</document>
diff --git a/platform/ios/uitest/OHHTTPStubs/LICENSE b/platform/ios/uitest/OHHTTPStubs/LICENSE
deleted file mode 100644
index a83928dd2e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-- MIT LICENSE -
-
-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. \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec
deleted file mode 100644
index 7ddbe58e23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs.podspec
+++ /dev/null
@@ -1,86 +0,0 @@
-Pod::Spec.new do |s|
-
- s.name = "OHHTTPStubs"
- 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(/^ +\|/,'')
- |A class to stub network requests easily:
- |
- | * Test your apps with fake network data (stubbed from file)
- | * You can also customize your response headers and status code
- | * Use customized stubs depending on the requests
- | * Use custom response time to simulate slow network.
- | * This works with any request (HTTP, HTTPS, or any protocol) sent using
- | the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)
- | * This is really useful in unit testing, when you need to test network features
- | but don't want to hit the real network and fake some response data instead.
- | * Has useful convenience methods to stub JSON content or fixture from a file
- | * Compatible with Swift
- DESC
-
- s.homepage = "https://github.com/AliSoftware/OHHTTPStubs"
- s.license = "MIT"
- s.authors = { 'Olivier Halligon' => 'olivier.halligon+ae@gmail.com' }
-
- s.source = { :git => "https://github.com/AliSoftware/OHHTTPStubs.git", :tag => s.version.to_s }
-
- 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj
deleted file mode 100644
index 7b1a4fa4db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1320 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 09110A4519805F4800D175E4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
- 09110A5319805F4800D175E4 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
- 09110A5419805F4800D175E4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4419805F4800D175E4 /* Foundation.framework */; };
- 09110A5919805F4800D175E4 /* libOHHTTPStubs.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */; };
- 09110A6C1980605A00D175E4 /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
- 09110A741980606A00D175E4 /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
- 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 */; };
- 0959818B1980682E00807DBE /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
- 0959818C1980682E00807DBE /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
- 0959818D1980682E00807DBE /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
- 0959818E1980682E00807DBE /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
- 095981D319806A7900807DBE /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09110A5219805F4800D175E4 /* XCTest.framework */; };
- 095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 095981C219806A7900807DBE /* OHHTTPStubs.framework */; };
- 095981EF19806AA200807DBE /* NilValuesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 095981491980668E00807DBE /* NilValuesTests.m */; };
- 095981F019806AA200807DBE /* NSURLConnectionDelegateTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */; };
- 095981F119806AA200807DBE /* NSURLConnectionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814B1980668E00807DBE /* NSURLConnectionTests.m */; };
- 095981F219806AA200807DBE /* NSURLSessionTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814C1980668E00807DBE /* NSURLSessionTests.m */; };
- 095981F319806AA200807DBE /* TimingTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814D1980668E00807DBE /* TimingTests.m */; };
- 095981F419806AA200807DBE /* WithContentsOfURLTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */; };
- 095981F619806AAC00807DBE /* OHHTTPStubs.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */; };
- 095981F719806AAC00807DBE /* OHHTTPStubsResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */; };
- 095981F819806AAC00807DBE /* OHHTTPStubsResponse+HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */; };
- 095981F919806AAC00807DBE /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
- 095981FA19806AAC00807DBE /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
- 095981FB19806AB700807DBE /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095981FC19806AF300807DBE /* OHHTTPStubs.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; };
- 095981FD19806AF300807DBE /* OHHTTPStubsResponse.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; };
- 095981FE19806AF300807DBE /* OHHTTPStubsResponse+HTTPMessage.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; };
- 095981FF19806AF300807DBE /* OHHTTPStubsResponse+JSON.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; };
- 0959820019806B1700807DBE /* OHHTTPStubsResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 0959820119806B1E00807DBE /* OHHTTPStubsResponse+HTTPMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 0959820219806B2200807DBE /* OHHTTPStubsResponse+JSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A721980606A00D175E4 /* OHHTTPStubsResponse+JSON.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 095B1AD51AE30BA7009D1B56 /* OHPathHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 095B1AD41AE30BA7009D1B56 /* OHPathHelpers.m */; };
- 095B1AD61AE3138C009D1B56 /* OHPathHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = 095B1AD31AE30BA7009D1B56 /* OHPathHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 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 */; };
- 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 */; };
- 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 */; };
- 725CD9B71A9EB6FD00F84C8B /* OHHTTPStubsResponse+JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A731980606A00D175E4 /* OHHTTPStubsResponse+JSON.m */; };
- 725CD9B81A9EB70000F84C8B /* OHHTTPStubs+NSURLSessionConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 09110A781980608600D175E4 /* OHHTTPStubs+NSURLSessionConfiguration.m */; };
- 725CD9B91A9EB71000F84C8B /* OHHTTPStubs.h in Headers */ = {isa = PBXBuildFile; fileRef = 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 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 */
- 09110A5719805F4800D175E4 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 09110A3919805F4800D175E4 /* Project object */;
- proxyType = 1;
- 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 */;
- proxyType = 1;
- remoteGlobalIDString = 095981C119806A7900807DBE;
- remoteInfo = "OHHTTPStubs Mac";
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 09110A3F19805F4800D175E4 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "include/$(PRODUCT_NAME)";
- dstSubfolderSpec = 16;
- files = (
- 09D0D29B1B67FF06004E7213 /* Compatibility.h in CopyFiles */,
- 095981FC19806AF300807DBE /* OHHTTPStubs.h in CopyFiles */,
- 095981FD19806AF300807DBE /* OHHTTPStubsResponse.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;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* 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 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>"; };
- 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OHHTTPStubsResponse.h; sourceTree = "<group>"; };
- 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OHHTTPStubsResponse.m; sourceTree = "<group>"; };
- 09110A701980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OHHTTPStubsResponse+HTTPMessage.h"; sourceTree = "<group>"; };
- 09110A711980606A00D175E4 /* OHHTTPStubsResponse+HTTPMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "OHHTTPStubsResponse+HTTPMessage.m"; sourceTree = "<group>"; };
- 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>"; };
- 095981491980668E00807DBE /* NilValuesTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NilValuesTests.m; path = "Test Suites/NilValuesTests.m"; sourceTree = "<group>"; };
- 0959814A1980668E00807DBE /* NSURLConnectionDelegateTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLConnectionDelegateTests.m; path = "Test Suites/NSURLConnectionDelegateTests.m"; sourceTree = "<group>"; };
- 0959814B1980668E00807DBE /* NSURLConnectionTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLConnectionTests.m; path = "Test Suites/NSURLConnectionTests.m"; sourceTree = "<group>"; };
- 0959814C1980668E00807DBE /* NSURLSessionTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSURLSessionTests.m; path = "Test Suites/NSURLSessionTests.m"; sourceTree = "<group>"; };
- 0959814D1980668E00807DBE /* TimingTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TimingTests.m; path = "Test Suites/TimingTests.m"; sourceTree = "<group>"; };
- 0959814E1980668E00807DBE /* WithContentsOfURLTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WithContentsOfURLTests.m; path = "Test Suites/WithContentsOfURLTests.m"; sourceTree = "<group>"; };
- 0959819819806A4200807DBE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
- 0959819919806A4200807DBE /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
- 0959819A19806A4200807DBE /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
- 095981C219806A7900807DBE /* OHHTTPStubs.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OHHTTPStubs.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 095981C619806A7900807DBE /* OHHTTPStubs Mac-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OHHTTPStubs Mac-Info.plist"; sourceTree = "<group>"; };
- 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>"; };
- 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; };
- 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 */
- 09110A3E19805F4800D175E4 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09110A4519805F4800D175E4 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 09110A4E19805F4800D175E4 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 09110A5319805F4800D175E4 /* XCTest.framework in Frameworks */,
- 09110A5419805F4800D175E4 /* Foundation.framework 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;
- };
- 095981BE19806A7900807DBE /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981CF19806A7900807DBE /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 095981D319806A7900807DBE /* XCTest.framework in Frameworks */,
- 095981D719806A7900807DBE /* OHHTTPStubs.framework in Frameworks */,
- 0DB397E35DDB6808A5496D53 /* libPods-OHHTTPStubs Mac Tests.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9971A9EB65100F84C8B /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 09110A3819805F4800D175E4 = {
- isa = PBXGroup;
- children = (
- 09110A4619805F4800D175E4 /* OHHTTPStubs */,
- 095981C519806A7900807DBE /* Supporting Files */,
- 09110A5A19805F4800D175E4 /* UnitTests */,
- 09110A4319805F4800D175E4 /* Frameworks */,
- 09110A4219805F4800D175E4 /* Products */,
- 69EB7ED77E3A41F78D65093A /* Pods */,
- );
- sourceTree = "<group>";
- };
- 09110A4219805F4800D175E4 /* Products */ = {
- isa = PBXGroup;
- children = (
- 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */,
- 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>";
- };
- 09110A4319805F4800D175E4 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 09110A4419805F4800D175E4 /* Foundation.framework */,
- 09110A5219805F4800D175E4 /* XCTest.framework */,
- 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>";
- };
- 09110A4619805F4800D175E4 /* OHHTTPStubs */ = {
- isa = PBXGroup;
- children = (
- 09D0D2981B67FED3004E7213 /* Compatibility.h */,
- 09110A6A1980605A00D175E4 /* OHHTTPStubs.h */,
- 09110A6B1980605A00D175E4 /* OHHTTPStubs.m */,
- 1D6DB84D1B763B7A00FCF855 /* Mocktail */,
- 09110A6D1980605D00D175E4 /* OHHTTPStubsResponse */,
- 09110A771980607200D175E4 /* NSURLSession Support */,
- 093443011B80F88700A91535 /* OHPathHelpers */,
- 095569991B90E4EA00503ADC /* Swift */,
- );
- name = OHHTTPStubs;
- path = Sources;
- sourceTree = "<group>";
- };
- 09110A5A19805F4800D175E4 /* UnitTests */ = {
- isa = PBXGroup;
- children = (
- 47AF33791A37755E00158C9F /* Fixtures */,
- 095981461980663000807DBE /* Test Suites */,
- 09110A5B19805F4800D175E4 /* Supporting Files */,
- );
- path = UnitTests;
- sourceTree = "<group>";
- };
- 09110A5B19805F4800D175E4 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 095981471980665400807DBE /* UnitTests-Prefix.pch */,
- 095981451980657C00807DBE /* UnitTests-Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "<group>";
- };
- 09110A6D1980605D00D175E4 /* OHHTTPStubsResponse */ = {
- isa = PBXGroup;
- children = (
- 09110A6E1980606A00D175E4 /* OHHTTPStubsResponse.h */,
- 09110A6F1980606A00D175E4 /* OHHTTPStubsResponse.m */,
- 093442FF1B80F85700A91535 /* JSON */,
- 093442FE1B80F84800A91535 /* HTTPMessage */,
- );
- name = OHHTTPStubsResponse;
- sourceTree = "<group>";
- };
- 09110A771980607200D175E4 /* NSURLSession Support */ = {
- isa = PBXGroup;
- children = (
- 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>";
- };
- 0959819719806A4200807DBE /* Other Frameworks */ = {
- isa = PBXGroup;
- children = (
- 0959819819806A4200807DBE /* Foundation.framework */,
- 0959819919806A4200807DBE /* CoreData.framework */,
- 0959819A19806A4200807DBE /* AppKit.framework */,
- );
- name = "Other Frameworks";
- sourceTree = "<group>";
- };
- 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>";
- };
- 69EB7ED77E3A41F78D65093A /* Pods */ = {
- isa = PBXGroup;
- children = (
- B11995FF7A5A81D0A322D6FA /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */,
- E2483255B84CAC7897D6E98C /* Pods-OHHTTPStubs Mac 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>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 095981BF19806A7900807DBE /* Headers */ = {
- 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 */,
- 094906DF1B7F60EE00B047DA /* OHHTTPStubs+Mocktail.h in Headers */,
- 095B1AD71AE3138C009D1B56 /* OHPathHelpers.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9981A9EB65100F84C8B /* Headers */ = {
- 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;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 09110A6419805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS StaticLib" */;
- buildPhases = (
- 09110A3D19805F4800D175E4 /* Sources */,
- 09110A3E19805F4800D175E4 /* Frameworks */,
- 09110A3F19805F4800D175E4 /* CopyFiles */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs iOS StaticLib";
- productName = OHHTTPStubs;
- productReference = 09110A4119805F4800D175E4 /* libOHHTTPStubs.a */;
- productType = "com.apple.product-type.library.static";
- };
- 09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */;
- buildPhases = (
- 7F432602D77FABAF29E05AA8 /* Check Pods Manifest.lock */,
- 09110A4D19805F4800D175E4 /* Sources */,
- 09110A4E19805F4800D175E4 /* Frameworks */,
- 09110A4F19805F4800D175E4 /* Resources */,
- 2E71B8D8A7ECD8287E0E81D5 /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 09110A5819805F4800D175E4 /* PBXTargetDependency */,
- );
- name = "OHHTTPStubs iOS Lib Tests";
- productName = OHHTTPStubsTests;
- 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 */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 095981E019806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Framework" */;
- buildPhases = (
- 095981BD19806A7900807DBE /* Sources */,
- 095981BE19806A7900807DBE /* Frameworks */,
- 095981BF19806A7900807DBE /* Headers */,
- 095981C019806A7900807DBE /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs Mac Framework";
- productName = "OHHTTPStubs Mac";
- productReference = 095981C219806A7900807DBE /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
- 095981D119806A7900807DBE /* OHHTTPStubs Mac Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 095981E319806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Tests" */;
- buildPhases = (
- 752F2AD343353136781BDAB2 /* Check Pods Manifest.lock */,
- 095981CE19806A7900807DBE /* Sources */,
- 095981CF19806A7900807DBE /* Frameworks */,
- 095981D019806A7900807DBE /* Resources */,
- BF1C89AB0FF2DD0E338DD44E /* Copy Pods Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 095981D619806A7900807DBE /* PBXTargetDependency */,
- );
- name = "OHHTTPStubs Mac Tests";
- productName = "OHHTTPStubs Mac Tests";
- productReference = 095981D219806A7900807DBE /* OHHTTPStubs Mac Tests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 725CD9B21A9EB65200F84C8B /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Framework" */;
- buildPhases = (
- 725CD9961A9EB65100F84C8B /* Sources */,
- 725CD9971A9EB65100F84C8B /* Frameworks */,
- 725CD9981A9EB65100F84C8B /* Headers */,
- 725CD9991A9EB65100F84C8B /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "OHHTTPStubs iOS Framework";
- productName = "OHHTTPStubs iOS Framework";
- productReference = 725CD99B1A9EB65100F84C8B /* OHHTTPStubs.framework */;
- productType = "com.apple.product-type.framework";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 09110A3919805F4800D175E4 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = AliSoftware;
- TargetAttributes = {
- 09110A5019805F4800D175E4 = {
- TestTargetID = 09110A4019805F4800D175E4;
- };
- 095981D119806A7900807DBE = {
- TestTargetID = 095981C119806A7900807DBE;
- };
- 725CD99A1A9EB65100F84C8B = {
- CreatedOnToolsVersion = 6.1.1;
- };
- };
- };
- buildConfigurationList = 09110A3C19805F4800D175E4 /* Build configuration list for PBXProject "OHHTTPStubs" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 09110A3819805F4800D175E4;
- productRefGroup = 09110A4219805F4800D175E4 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 09110A4019805F4800D175E4 /* OHHTTPStubs iOS StaticLib */,
- 09110A5019805F4800D175E4 /* OHHTTPStubs iOS Lib Tests */,
- 725CD99A1A9EB65100F84C8B /* OHHTTPStubs iOS Framework */,
- 093442DD1B80EC4A00A91535 /* OHHTTPStubs iOS Fmk Tests */,
- 095981C119806A7900807DBE /* OHHTTPStubs Mac Framework */,
- 095981D119806A7900807DBE /* OHHTTPStubs Mac Tests */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 09110A4F19805F4800D175E4 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- 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;
- };
- 095981C019806A7900807DBE /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 095981D019806A7900807DBE /* Resources */ = {
- 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;
- };
- 725CD9991A9EB65100F84C8B /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* 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;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- 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 */ = {
- 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;
- };
- 7F432602D77FABAF29E05AA8 /* 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;
- };
- BF1C89AB0FF2DD0E338DD44E /* 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 Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 09110A3D19805F4800D175E4 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 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;
- };
- 09110A4D19805F4800D175E4 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- 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 = (
- 095981F619806AAC00807DBE /* OHHTTPStubs.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;
- };
- 095981CE19806A7900807DBE /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- 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 */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 725CD9961A9EB65100F84C8B /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- 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;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 09110A5819805F4800D175E4 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- 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 */;
- targetProxy = 095981D519806A7900807DBE /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 09110A6219805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__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;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "XCODE_VERSION=$(XCODE_VERSION_MAJOR)",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 09110A6319805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "XCODE_VERSION=$(XCODE_VERSION_MAJOR)",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 09110A6519805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- DSTROOT = /tmp/OHHTTPStubs.dst;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 09110A6619805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- DSTROOT = /tmp/OHHTTPStubs.dst;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 09110A6819805F4800D175E4 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = C0E954CB8F11618F9510F283 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */;
- buildSettings = {
- 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 = 6.0;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- 09110A6919805F4800D175E4 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 95E3CBB2346C0E2FBA46D63E /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */;
- buildSettings = {
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- INFOPLIST_FILE = "UnitTests/UnitTests-Info.plist";
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- OTHER_LDFLAGS = (
- "$(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;
- };
- name = Release;
- };
- 095981E119806A7900807DBE /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- FRAMEWORK_VERSION = A;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- 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;
- };
- name = Debug;
- };
- 095981E219806A7900807DBE /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- COMBINE_HIDPI_IMAGES = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- );
- FRAMEWORK_VERSION = A;
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- 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;
- };
- name = Release;
- };
- 095981E419806A7900807DBE /* Debug */ = {
- 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)",
- "$(inherited)",
- );
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- WRAPPER_EXTENSION = xctest;
- };
- name = Debug;
- };
- 095981E519806A7900807DBE /* Release */ = {
- 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 = (
- "$(DEVELOPER_FRAMEWORKS_DIR)",
- "$(inherited)",
- );
- GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = "UnitTests/UnitTests-Prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- OTHER_LDFLAGS = (
- "$(inherited)",
- "-ObjC",
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- WRAPPER_EXTENSION = xctest;
- };
- name = Release;
- };
- 725CD9AE1A9EB65200F84C8B /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_WARN_UNREACHABLE_CODE = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs iOS-Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = YES;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 725CD9AF1A9EB65200F84C8B /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_WARN_UNREACHABLE_CODE = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- INFOPLIST_FILE = "Supporting Files/OHHTTPStubs iOS-Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = NO;
- PRODUCT_BUNDLE_IDENTIFIER = "com.alisoftware.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = OHHTTPStubs;
- SKIP_INSTALL = YES;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 09110A3C19805F4800D175E4 /* Build configuration list for PBXProject "OHHTTPStubs" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6219805F4800D175E4 /* Debug */,
- 09110A6319805F4800D175E4 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 09110A6419805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS StaticLib" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6519805F4800D175E4 /* Debug */,
- 09110A6619805F4800D175E4 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 09110A6719805F4800D175E4 /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Lib Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 09110A6819805F4800D175E4 /* Debug */,
- 09110A6919805F4800D175E4 /* Release */,
- );
- 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 = (
- 095981E119806A7900807DBE /* Debug */,
- 095981E219806A7900807DBE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 095981E319806A7900807DBE /* Build configuration list for PBXNativeTarget "OHHTTPStubs Mac Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 095981E419806A7900807DBE /* Debug */,
- 095981E519806A7900807DBE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 725CD9B21A9EB65200F84C8B /* Build configuration list for PBXNativeTarget "OHHTTPStubs iOS Framework" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 725CD9AE1A9EB65200F84C8B /* Debug */,
- 725CD9AF1A9EB65200F84C8B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 09110A3919805F4800D175E4 /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 25fccc6ba4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "self:OHHTTPStubs.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme
deleted file mode 100644
index f5a14781a1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs Mac Framework.xcscheme
+++ /dev/null
@@ -1,95 +0,0 @@
-<?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 = "095981C119806A7900807DBE"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs Mac Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981D119806A7900807DBE"
- BuildableName = "OHHTTPStubs Mac Tests.xctest"
- BlueprintName = "OHHTTPStubs Mac Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- </BuildActionEntries>
- </BuildAction>
- <TestAction
- buildConfiguration = "Debug"
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "YES">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "095981D119806A7900807DBE"
- BuildableName = "OHHTTPStubs Mac Tests.xctest"
- BlueprintName = "OHHTTPStubs Mac Tests"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </TestableReference>
- </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 = "095981C119806A7900807DBE"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs Mac Framework"
- ReferencedContainer = "container:OHHTTPStubs.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>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme
deleted file mode 100644
index d82274e7af..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS Framework.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?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 = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- 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">
- <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
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- 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"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- debugDocumentVersioning = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "725CD99A1A9EB65100F84C8B"
- BuildableName = "OHHTTPStubs.framework"
- BlueprintName = "OHHTTPStubs iOS Framework"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- </ProfileAction>
- <AnalyzeAction
- buildConfiguration = "Debug">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme
deleted file mode 100644
index 998a5b942f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/xcshareddata/xcschemes/OHHTTPStubs iOS StaticLib.xcscheme
+++ /dev/null
@@ -1,113 +0,0 @@
-<?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 = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </BuildActionEntry>
- <BuildActionEntry
- buildForTesting = "YES"
- buildForRunning = "NO"
- buildForProfiling = "NO"
- buildForArchiving = "NO"
- buildForAnalyzing = "YES">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- 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">
- <Testables>
- <TestableReference
- skipped = "NO">
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A5019805F4800D175E4"
- 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"
- ignoresPersistentStateOnLaunch = "NO"
- debugDocumentVersioning = "YES"
- debugServiceExtension = "internal"
- allowLocationSimulation = "YES">
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "09110A4019805F4800D175E4"
- BuildableName = "libOHHTTPStubs.a"
- BlueprintName = "OHHTTPStubs iOS StaticLib"
- ReferencedContainer = "container:OHHTTPStubs.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
- </LaunchAction>
- <ProfileAction
- buildConfiguration = "Release"
- shouldUseLaunchSchemeArgsEnv = "YES"
- savedToolIdentifier = ""
- useCustomWorkingDirectory = "NO"
- 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">
- </AnalyzeAction>
- <ArchiveAction
- buildConfiguration = "Release"
- revealArchiveInOrganizer = "YES">
- </ArchiveAction>
-</Scheme>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 06ceb62b61..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
- version = "1.0">
- <FileRef
- location = "group:OHHTTPStubs.xcodeproj">
- </FileRef>
- <FileRef
- location = "group:Pods/Pods.xcodeproj">
- </FileRef>
-</Workspace>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index 08de0be8d3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
- <false/>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile
deleted file mode 100644
index c20f4c541f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile
+++ /dev/null
@@ -1,19 +0,0 @@
-source 'https://github.com/CocoaPods/Specs.git'
-
-xcodeproj 'OHHTTPStubs.xcodeproj'
-inhibit_all_warnings!
-
-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'
-end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock
deleted file mode 100644
index 5896b3b3b0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Podfile.lock
+++ /dev/null
@@ -1,30 +0,0 @@
-PODS:
- - AFNetworking (2.5.0):
- - AFNetworking/NSURLConnection (= 2.5.0)
- - AFNetworking/NSURLSession (= 2.5.0)
- - AFNetworking/Reachability (= 2.5.0)
- - AFNetworking/Security (= 2.5.0)
- - AFNetworking/Serialization (= 2.5.0)
- - AFNetworking/UIKit (= 2.5.0)
- - AFNetworking/NSURLConnection (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/NSURLSession (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/Reachability (2.5.0)
- - AFNetworking/Security (2.5.0)
- - AFNetworking/Serialization (2.5.0)
- - AFNetworking/UIKit (2.5.0):
- - AFNetworking/NSURLConnection
- - AFNetworking/NSURLSession
-
-DEPENDENCIES:
- - AFNetworking (= 2.5.0)
-
-SPEC CHECKSUMS:
- AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 100644
index dfa82f6691..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// AFHTTPRequestOperation.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import "AFURLConnectionOperation.h"
-
-/**
- `AFHTTPRequestOperation` is a subclass of `AFURLConnectionOperation` for requests using the HTTP or HTTPS protocols. It encapsulates the concept of acceptable status codes and content types, which determine the success or failure of a request.
- */
-@interface AFHTTPRequestOperation : AFURLConnectionOperation
-
-///------------------------------------------------
-/// @name Getting HTTP URL Connection Information
-///------------------------------------------------
-
-/**
- The last HTTP response received by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSHTTPURLResponse *response;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an AFHTTPResponse serializer, which uses the raw data as its response object. The serializer validates the status code to be in the `2XX` range, denoting success. If the response serializer generates an error in `-responseObjectForResponse:data:error:`, the `failure` callback of the session task or request operation will be executed; otherwise, the `success` callback will be executed.
-
- @warning `responseSerializer` must not be `nil`. Setting a response serializer will clear out any cached value
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- An object constructed by the `responseSerializer` from the response and response data. Returns `nil` unless the operation `isFinished`, has a `response`, and has `responseData` with non-zero content length. If an error occurs during serialization, `nil` will be returned, and the `error` property will be populated with the serialization error.
- */
-@property (readonly, nonatomic, strong) id responseObject;
-
-///-----------------------------------------------------------
-/// @name Setting Completion Block Success / Failure Callbacks
-///-----------------------------------------------------------
-
-/**
- Sets the `completionBlock` property with a block that executes either the specified success or failure block, depending on the state of the request on completion. If `error` returns a value, which can be caused by an unacceptable status code or content type, then `failure` is executed. Otherwise, `success` is executed.
-
- This method should be overridden in subclasses in order to specify the response object passed into the success block.
-
- @param success The block to be executed on the completion of a successful request. This block has no return value and takes two arguments: the receiver operation and the object constructed from the response data of the request.
- @param failure The block to be executed on the completion of an unsuccessful request. This block has no return value and takes two arguments: the receiver operation and the error that occurred during the request.
- */
-- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
deleted file mode 100644
index 1de5812ca1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
+++ /dev/null
@@ -1,206 +0,0 @@
-// AFHTTPRequestOperation.m
-//
-// 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.
-
-#import "AFHTTPRequestOperation.h"
-
-static dispatch_queue_t http_request_operation_processing_queue() {
- static dispatch_queue_t af_http_request_operation_processing_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_http_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.http-request.processing", DISPATCH_QUEUE_CONCURRENT);
- });
-
- return af_http_request_operation_processing_queue;
-}
-
-static dispatch_group_t http_request_operation_completion_group() {
- static dispatch_group_t af_http_request_operation_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_http_request_operation_completion_group = dispatch_group_create();
- });
-
- return af_http_request_operation_completion_group;
-}
-
-#pragma mark -
-
-@interface AFURLConnectionOperation ()
-@property (readwrite, nonatomic, strong) NSURLRequest *request;
-@property (readwrite, nonatomic, strong) NSURLResponse *response;
-@end
-
-@interface AFHTTPRequestOperation ()
-@property (readwrite, nonatomic, strong) NSHTTPURLResponse *response;
-@property (readwrite, nonatomic, strong) id responseObject;
-@property (readwrite, nonatomic, strong) NSError *responseSerializationError;
-@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
-@end
-
-@implementation AFHTTPRequestOperation
-@dynamic lock;
-
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest {
- self = [super initWithRequest:urlRequest];
- if (!self) {
- return nil;
- }
-
- self.responseSerializer = [AFHTTPResponseSerializer serializer];
-
- return self;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- [self.lock lock];
- _responseSerializer = responseSerializer;
- self.responseObject = nil;
- self.responseSerializationError = nil;
- [self.lock unlock];
-}
-
-- (id)responseObject {
- [self.lock lock];
- if (!_responseObject && [self isFinished] && !self.error) {
- NSError *error = nil;
- self.responseObject = [self.responseSerializer responseObjectForResponse:self.response data:self.responseData error:&error];
- if (error) {
- self.responseSerializationError = error;
- }
- }
- [self.lock unlock];
-
- return _responseObject;
-}
-
-- (NSError *)error {
- if (_responseSerializationError) {
- return _responseSerializationError;
- } else {
- return [super error];
- }
-}
-
-#pragma mark - AFHTTPRequestOperation
-
-- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- // completionBlock is manually nilled out in AFURLConnectionOperation to break the retain cycle.
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Warc-retain-cycles"
-#pragma clang diagnostic ignored "-Wgnu"
- self.completionBlock = ^{
- if (self.completionGroup) {
- dispatch_group_enter(self.completionGroup);
- }
-
- dispatch_async(http_request_operation_processing_queue(), ^{
- if (self.error) {
- if (failure) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(self, self.error);
- });
- }
- } else {
- id responseObject = self.responseObject;
- if (self.error) {
- if (failure) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(self, self.error);
- });
- }
- } else {
- if (success) {
- dispatch_group_async(self.completionGroup ?: http_request_operation_completion_group(), self.completionQueue ?: dispatch_get_main_queue(), ^{
- success(self, responseObject);
- });
- }
- }
- }
-
- if (self.completionGroup) {
- dispatch_group_leave(self.completionGroup);
- }
- });
- };
-#pragma clang diagnostic pop
-}
-
-#pragma mark - AFURLRequestOperation
-
-- (void)pause {
- [super pause];
-
- u_int64_t offset = 0;
- if ([self.outputStream propertyForKey:NSStreamFileCurrentOffsetKey]) {
- offset = [(NSNumber *)[self.outputStream propertyForKey:NSStreamFileCurrentOffsetKey] unsignedLongLongValue];
- } else {
- offset = [(NSData *)[self.outputStream propertyForKey:NSStreamDataWrittenToMemoryStreamKey] length];
- }
-
- NSMutableURLRequest *mutableURLRequest = [self.request mutableCopy];
- if ([self.response respondsToSelector:@selector(allHeaderFields)] && [[self.response allHeaderFields] valueForKey:@"ETag"]) {
- [mutableURLRequest setValue:[[self.response allHeaderFields] valueForKey:@"ETag"] forHTTPHeaderField:@"If-Range"];
- }
- [mutableURLRequest setValue:[NSString stringWithFormat:@"bytes=%llu-", offset] forHTTPHeaderField:@"Range"];
- self.request = mutableURLRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestOperation *operation = [super copyWithZone:zone];
-
- operation.responseSerializer = [self.responseSerializer copyWithZone:zone];
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 100644
index 9f390294e2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1,308 +0,0 @@
-// AFHTTPRequestOperationManager.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-#import <Availability.h>
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-#import "AFHTTPRequestOperation.h"
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-#import "AFSecurityPolicy.h"
-#import "AFNetworkReachabilityManager.h"
-
-/**
- `AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with a web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as request operation management.
-
- ## Subclassing Notes
-
- Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
-
- For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
-
- ## Methods to Override
-
- To change the behavior of all request operation construction for an `AFHTTPRequestOperationManager` subclass, override `HTTPRequestOperationWithRequest:success:failure`.
-
- ## Serialization
-
- Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
-
- Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
-
- ## URL Construction Using Relative Paths
-
- For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
-
- Below are a few examples of how `baseURL` and relative paths interact:
-
- NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
- [NSURL URLWithString:@"foo" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL]; // http://example.com/v1/foo?bar=baz
- [NSURL URLWithString:@"/foo" relativeToURL:baseURL]; // http://example.com/foo
- [NSURL URLWithString:@"foo/" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"/foo/" relativeToURL:baseURL]; // http://example.com/foo/
- [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
-
- Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
-
- ## Network Reachability Monitoring
-
- Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.
-
- ## NSSecureCoding & NSCopying Caveats
-
- `AFHTTPRequestOperationManager` conforms to the `NSSecureCoding` and `NSCopying` protocols, allowing operations to be archived to disk, and copied in memory, respectively. There are a few minor caveats to keep in mind, however:
-
- - Archives and copies of HTTP clients will be initialized with an empty operation queue.
- - NSSecureCoding cannot serialize / deserialize block properties, so an archive of an HTTP client will not include any reachability callback block that may be set.
- */
-@interface AFHTTPRequestOperationManager : NSObject <NSSecureCoding, NSCopying>
-
-/**
- The URL used to monitor reachability, and construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
- */
-@property (readonly, nonatomic, strong) NSURL *baseURL;
-
-/**
- Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
-
- @warning `requestSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to a JSON serializer, which serializes data from responses with a `application/json` MIME type, and falls back to the raw data object. The serializer validates the status code to be in the `2XX` range, denoting success. If the response serializer generates an error in `-responseObjectForResponse:data:error:`, the `failure` callback of the session task or request operation will be executed; otherwise, the `success` callback will be executed.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- The operation queue on which request operations are scheduled and run.
- */
-@property (nonatomic, strong) NSOperationQueue *operationQueue;
-
-///-------------------------------
-/// @name Managing URL Credentials
-///-------------------------------
-
-/**
- Whether request operations should consult the credential storage for authenticating the connection. `YES` by default.
-
- @see AFURLConnectionOperation -shouldUseCredentialStorage
- */
-@property (nonatomic, assign) BOOL shouldUseCredentialStorage;
-
-/**
- The credential used by request operations for authentication challenges.
-
- @see AFURLConnectionOperation -credential
- */
-@property (nonatomic, strong) NSURLCredential *credential;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created request operations to evaluate server trust for secure connections. `AFHTTPRequestOperationManager` uses the `defaultPolicy` unless otherwise specified.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///------------------------------------
-/// @name Managing Network Reachability
-///------------------------------------
-
-/**
- The network reachability manager. `AFHTTPRequestOperationManager` uses the `sharedManager` by default.
- */
-@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;
-
-///-------------------------------
-/// @name Managing Callback Queues
-///-------------------------------
-
-/**
- The dispatch queue for the `completionBlock` of request operations. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for the `completionBlock` of request operations. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------------------
-/// @name Creating and Initializing HTTP Clients
-///---------------------------------------------
-
-/**
- Creates and returns an `AFHTTPRequestOperationManager` object.
- */
-+ (instancetype)manager;
-
-/**
- Initializes an `AFHTTPRequestOperationManager` object with the specified base URL.
-
- This is the designated initializer.
-
- @param url The base URL for the HTTP client.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url;
-
-///---------------------------------------
-/// @name Managing HTTP Request Operations
-///---------------------------------------
-
-/**
- Creates an `AFHTTPRequestOperation`, and sets the response serializers to that of the HTTP client.
-
- @param request The request object to be loaded asynchronously during execution of the operation.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the created request operation and the object created from the response data of request.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes two arguments:, the created request operation and the `NSError` object describing the network or parsing error that occurred.
- */
-- (AFHTTPRequestOperation *)HTTPRequestOperationWithRequest:(NSURLRequest *)request
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-///---------------------------
-/// @name Making HTTP Requests
-///---------------------------
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `GET` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `HEAD` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single arguments: the request operation.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a multipart `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `PUT` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `PATCH` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-/**
- Creates and runs an `AFHTTPRequestOperation` with a `DELETE` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
-
- @see -HTTPRequestOperationWithRequest:success:failure:
- */
-- (AFHTTPRequestOperation *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
-
-@end
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m
deleted file mode 100644
index 4ae7275480..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperationManager.m
+++ /dev/null
@@ -1,253 +0,0 @@
-// AFHTTPRequestOperationManager.m
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import "AFHTTPRequestOperationManager.h"
-#import "AFHTTPRequestOperation.h"
-
-#import <Availability.h>
-#import <Security/Security.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-@interface AFHTTPRequestOperationManager ()
-@property (readwrite, nonatomic, strong) NSURL *baseURL;
-@end
-
-@implementation AFHTTPRequestOperationManager
-
-+ (instancetype)manager {
- return [[self alloc] initWithBaseURL:nil];
-}
-
-- (instancetype)init {
- return [self initWithBaseURL:nil];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
- if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
- url = [url URLByAppendingPathComponent:@""];
- }
-
- self.baseURL = url;
-
- self.requestSerializer = [AFHTTPRequestSerializer serializer];
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- self.reachabilityManager = [AFNetworkReachabilityManager sharedManager];
-
- self.operationQueue = [[NSOperationQueue alloc] init];
-
- self.shouldUseCredentialStorage = YES;
-
- return self;
-}
-
-#pragma mark -
-
-#ifdef _SYSTEMCONFIGURATION_H
-#endif
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- NSParameterAssert(requestSerializer);
-
- _requestSerializer = requestSerializer;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- _responseSerializer = responseSerializer;
-}
-
-#pragma mark -
-
-- (AFHTTPRequestOperation *)HTTPRequestOperationWithRequest:(NSURLRequest *)request
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
- operation.responseSerializer = self.responseSerializer;
- operation.shouldUseCredentialStorage = self.shouldUseCredentialStorage;
- operation.credential = self.credential;
- operation.securityPolicy = self.securityPolicy;
-
- [operation setCompletionBlockWithSuccess:success failure:failure];
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-#pragma mark -
-
-- (AFHTTPRequestOperation *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"GET" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"HEAD" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:^(AFHTTPRequestOperation *requestOperation, __unused id responseObject) {
- if (success) {
- success(requestOperation);
- }
- } failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"PUT" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"PATCH" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-- (AFHTTPRequestOperation *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
- failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
-{
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:@"DELETE" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:nil];
- AFHTTPRequestOperation *operation = [self HTTPRequestOperationWithRequest:request success:success failure:failure];
-
- [self.operationQueue addOperation:operation];
-
- return operation;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, baseURL: %@, operationQueue: %@>", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.operationQueue];
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURL *baseURL = [decoder decodeObjectForKey:NSStringFromSelector(@selector(baseURL))];
-
- self = [self initWithBaseURL:baseURL];
- if (!self) {
- return nil;
- }
-
- self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
- [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestOperationManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL];
-
- HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
- HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
-
- return HTTPClient;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h
deleted file mode 100644
index 8fed5a6891..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1,240 +0,0 @@
-// AFHTTPSessionManager.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-#import <Availability.h>
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-#import "AFURLSessionManager.h"
-
-/**
- `AFHTTPSessionManager` is a subclass of `AFURLSessionManager` with convenience methods for making HTTP requests. When a `baseURL` is provided, requests made with the `GET` / `POST` / et al. convenience methods can be made with relative paths.
-
- ## Subclassing Notes
-
- Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
-
- For developers targeting iOS 6 or Mac OS X 10.8 or earlier, `AFHTTPRequestOperationManager` may be used to similar effect.
-
- ## Methods to Override
-
- To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:completionHandler:`.
-
- ## Serialization
-
- Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
-
- Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
-
- ## URL Construction Using Relative Paths
-
- For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
-
- Below are a few examples of how `baseURL` and relative paths interact:
-
- NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
- [NSURL URLWithString:@"foo" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL]; // http://example.com/v1/foo?bar=baz
- [NSURL URLWithString:@"/foo" relativeToURL:baseURL]; // http://example.com/foo
- [NSURL URLWithString:@"foo/" relativeToURL:baseURL]; // http://example.com/v1/foo
- [NSURL URLWithString:@"/foo/" relativeToURL:baseURL]; // http://example.com/foo/
- [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
-
- Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-@interface AFHTTPSessionManager : AFURLSessionManager <NSSecureCoding, NSCopying>
-
-/**
- The URL used to monitor reachability, and construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
- */
-@property (readonly, nonatomic, strong) NSURL *baseURL;
-
-/**
- Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
-
- @warning `requestSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns an `AFHTTPSessionManager` object.
- */
-+ (instancetype)manager;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- @param url The base URL for the HTTP client.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- This is the designated initializer.
-
- @param url The base URL for the HTTP client.
- @param configuration The configuration used to create the managed session.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(NSURL *)url
- sessionConfiguration:(NSURLSessionConfiguration *)configuration;
-
-///---------------------------
-/// @name Making HTTP Requests
-///---------------------------
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `GET` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `HEAD` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the data task.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PUT` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PATCH` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `DELETE` request.
-
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:completionHandler:
- */
-- (NSURLSessionDataTask *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m
deleted file mode 100644
index 6413297d72..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m
+++ /dev/null
@@ -1,321 +0,0 @@
-// AFHTTPSessionManager.m
-//
-// 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.
-
-#import "AFHTTPSessionManager.h"
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
-
-#import <Availability.h>
-#import <Security/Security.h>
-
-#ifdef _SYSTEMCONFIGURATION_H
-#import <netinet/in.h>
-#import <netinet6/in6.h>
-#import <arpa/inet.h>
-#import <ifaddrs.h>
-#import <netdb.h>
-#endif
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-@interface AFHTTPSessionManager ()
-@property (readwrite, nonatomic, strong) NSURL *baseURL;
-@end
-
-@implementation AFHTTPSessionManager
-
-+ (instancetype)manager {
- return [[[self class] alloc] initWithBaseURL:nil];
-}
-
-- (instancetype)init {
- return [self initWithBaseURL:nil];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url {
- return [self initWithBaseURL:url sessionConfiguration:nil];
-}
-
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {
- return [self initWithBaseURL:nil sessionConfiguration:configuration];
-}
-
-- (instancetype)initWithBaseURL:(NSURL *)url
- sessionConfiguration:(NSURLSessionConfiguration *)configuration
-{
- self = [super initWithSessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- // Ensure terminal slash for baseURL path, so that NSURL +URLWithString:relativeToURL: works as expected
- if ([[url path] length] > 0 && ![[url absoluteString] hasSuffix:@"/"]) {
- url = [url URLByAppendingPathComponent:@""];
- }
-
- self.baseURL = url;
-
- self.requestSerializer = [AFHTTPRequestSerializer serializer];
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- return self;
-}
-
-#pragma mark -
-
-#ifdef _SYSTEMCONFIGURATION_H
-#endif
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- NSParameterAssert(requestSerializer);
-
- _requestSerializer = requestSerializer;
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- [super setResponseSerializer:responseSerializer];
-}
-
-#pragma mark -
-
-- (NSURLSessionDataTask *)GET:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"GET" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)HEAD:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"HEAD" URLString:URLString parameters:parameters success:^(NSURLSessionDataTask *task, __unused id responseObject) {
- if (success) {
- success(task);
- }
- } failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"POST" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)POST:(NSString *)URLString
- parameters:(id)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSError *serializationError = nil;
- NSMutableURLRequest *request = [self.requestSerializer multipartFormRequestWithMethod:@"POST" URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters constructingBodyWithBlock:block error:&serializationError];
- if (serializationError) {
- if (failure) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(nil, serializationError);
- });
-#pragma clang diagnostic pop
- }
-
- return nil;
- }
-
- __block NSURLSessionDataTask *task = [self uploadTaskWithStreamedRequest:request progress:nil completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
- if (error) {
- if (failure) {
- failure(task, error);
- }
- } else {
- if (success) {
- success(task, responseObject);
- }
- }
- }];
-
- [task resume];
-
- return task;
-}
-
-- (NSURLSessionDataTask *)PUT:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PUT" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)PATCH:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"PATCH" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)DELETE:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *task, id responseObject))success
- failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure
-{
- NSURLSessionDataTask *dataTask = [self dataTaskWithHTTPMethod:@"DELETE" URLString:URLString parameters:parameters success:success failure:failure];
-
- [dataTask resume];
-
- return dataTask;
-}
-
-- (NSURLSessionDataTask *)dataTaskWithHTTPMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- success:(void (^)(NSURLSessionDataTask *, id))success
- failure:(void (^)(NSURLSessionDataTask *, NSError *))failure
-{
- NSError *serializationError = nil;
- NSMutableURLRequest *request = [self.requestSerializer requestWithMethod:method URLString:[[NSURL URLWithString:URLString relativeToURL:self.baseURL] absoluteString] parameters:parameters error:&serializationError];
- if (serializationError) {
- if (failure) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_async(self.completionQueue ?: dispatch_get_main_queue(), ^{
- failure(nil, serializationError);
- });
-#pragma clang diagnostic pop
- }
-
- return nil;
- }
-
- __block NSURLSessionDataTask *dataTask = nil;
- dataTask = [self dataTaskWithRequest:request completionHandler:^(NSURLResponse * __unused response, id responseObject, NSError *error) {
- if (error) {
- if (failure) {
- failure(dataTask, error);
- }
- } else {
- if (success) {
- success(dataTask, responseObject);
- }
- }
- }];
-
- return dataTask;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, baseURL: %@, session: %@, operationQueue: %@>", NSStringFromClass([self class]), self, [self.baseURL absoluteString], self.session, self.operationQueue];
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURL *baseURL = [decoder decodeObjectOfClass:[NSURL class] forKey:NSStringFromSelector(@selector(baseURL))];
- NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@"sessionConfiguration"];
- if (!configuration) {
- NSString *configurationIdentifier = [decoder decodeObjectOfClass:[NSString class] forKey:@"identifier"];
- if (configurationIdentifier) {
-#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1100)
- configuration = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:configurationIdentifier];
-#else
- configuration = [NSURLSessionConfiguration backgroundSessionConfiguration:configurationIdentifier];
-#endif
- }
- }
-
- self = [self initWithBaseURL:baseURL sessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- self.requestSerializer = [decoder decodeObjectOfClass:[AFHTTPRequestSerializer class] forKey:NSStringFromSelector(@selector(requestSerializer))];
- self.responseSerializer = [decoder decodeObjectOfClass:[AFHTTPResponseSerializer class] forKey:NSStringFromSelector(@selector(responseSerializer))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.baseURL forKey:NSStringFromSelector(@selector(baseURL))];
- if ([self.session.configuration conformsToProtocol:@protocol(NSCoding)]) {
- [coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
- } else {
- [coder encodeObject:self.session.configuration.identifier forKey:@"identifier"];
- }
- [coder encodeObject:self.requestSerializer forKey:NSStringFromSelector(@selector(requestSerializer))];
- [coder encodeObject:self.responseSerializer forKey:NSStringFromSelector(@selector(responseSerializer))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPSessionManager *HTTPClient = [[[self class] allocWithZone:zone] initWithBaseURL:self.baseURL sessionConfiguration:self.session.configuration];
-
- HTTPClient.requestSerializer = [self.requestSerializer copyWithZone:zone];
- HTTPClient.responseSerializer = [self.responseSerializer copyWithZone:zone];
-
- return HTTPClient;
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 100644
index 5e610d887f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1,193 +0,0 @@
-// AFNetworkReachabilityManager.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import <SystemConfiguration/SystemConfiguration.h>
-
-typedef NS_ENUM(NSInteger, AFNetworkReachabilityStatus) {
- AFNetworkReachabilityStatusUnknown = -1,
- AFNetworkReachabilityStatusNotReachable = 0,
- AFNetworkReachabilityStatusReachableViaWWAN = 1,
- AFNetworkReachabilityStatusReachableViaWiFi = 2,
-};
-
-/**
- `AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
- Reachability can be used to determine background information about why a network operation failed, or to trigger a network operation retrying when a connection is established. It should not be used to prevent a user from initiating a network request, as it's possible that an initial request may be required to establish reachability.
-
- See Apple's Reachability Sample Code (https://developer.apple.com/library/ios/samplecode/reachability/)
-
- @warning Instances of `AFNetworkReachabilityManager` must be started with `-startMonitoring` before reachability status can be determined.
- */
-@interface AFNetworkReachabilityManager : NSObject
-
-/**
- The current network reachability status.
- */
-@property (readonly, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
-
-/**
- Whether or not the network is currently reachable.
- */
-@property (readonly, nonatomic, assign, getter = isReachable) BOOL reachable;
-
-/**
- Whether or not the network is currently reachable via WWAN.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWWAN) BOOL reachableViaWWAN;
-
-/**
- Whether or not the network is currently reachable via WiFi.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWiFi) BOOL reachableViaWiFi;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Returns the shared network reachability manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Creates and returns a network reachability manager for the specified domain.
-
- @param domain The domain used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified domain.
- */
-+ (instancetype)managerForDomain:(NSString *)domain;
-
-/**
- Creates and returns a network reachability manager for the socket address.
-
- @param address The socket address (`sockaddr_in`) used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified socket address.
- */
-+ (instancetype)managerForAddress:(const void *)address;
-
-/**
- Initializes an instance of a network reachability manager from the specified reachability object.
-
- @param reachability The reachability object to monitor.
-
- @return An initialized network reachability manager, actively monitoring the specified reachability.
- */
-- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability;
-
-///--------------------------------------------------
-/// @name Starting & Stopping Reachability Monitoring
-///--------------------------------------------------
-
-/**
- Starts monitoring for changes in network reachability status.
- */
-- (void)startMonitoring;
-
-/**
- Stops monitoring for changes in network reachability status.
- */
-- (void)stopMonitoring;
-
-///-------------------------------------------------
-/// @name Getting Localized Reachability Description
-///-------------------------------------------------
-
-/**
- Returns a localized string representation of the current network reachability status.
- */
-- (NSString *)localizedNetworkReachabilityStatusString;
-
-///---------------------------------------------------
-/// @name Setting Network Reachability Change Callback
-///---------------------------------------------------
-
-/**
- Sets a callback to be executed when the network availability of the `baseURL` host changes.
-
- @param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument which represents the various reachability states from the device to the `baseURL`.
- */
-- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Network Reachability
-
- The following constants are provided by `AFNetworkReachabilityManager` as possible network reachability statuses.
-
- enum {
- AFNetworkReachabilityStatusUnknown,
- AFNetworkReachabilityStatusNotReachable,
- AFNetworkReachabilityStatusReachableViaWWAN,
- AFNetworkReachabilityStatusReachableViaWiFi,
- }
-
- `AFNetworkReachabilityStatusUnknown`
- The `baseURL` host reachability is not known.
-
- `AFNetworkReachabilityStatusNotReachable`
- The `baseURL` host cannot be reached.
-
- `AFNetworkReachabilityStatusReachableViaWWAN`
- The `baseURL` host can be reached via a cellular connection, such as EDGE or GPRS.
-
- `AFNetworkReachabilityStatusReachableViaWiFi`
- The `baseURL` host can be reached via a Wi-Fi connection.
-
- ### Keys for Notification UserInfo Dictionary
-
- Strings that are used as keys in a `userInfo` dictionary in a network reachability status change notification.
-
- `AFNetworkingReachabilityNotificationStatusItem`
- A key in the userInfo dictionary in a `AFNetworkingReachabilityDidChangeNotification` notification.
- The corresponding value is an `NSNumber` object representing the `AFNetworkReachabilityStatus` value for the current reachability status.
- */
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when network reachability changes.
- This notification assigns no notification object. The `userInfo` dictionary contains an `NSNumber` object under the `AFNetworkingReachabilityNotificationStatusItem` key, representing the `AFNetworkReachabilityStatus` value for the current network reachability.
-
- @warning In order for network reachability to be monitored, include the `SystemConfiguration` framework in the active target's "Link Binary With Library" build phase, and add `#import <SystemConfiguration/SystemConfiguration.h>` to the header prefix of the project (`Prefix.pch`).
- */
-extern NSString * const AFNetworkingReachabilityDidChangeNotification;
-extern NSString * const AFNetworkingReachabilityNotificationStatusItem;
-
-///--------------------
-/// @name Functions
-///--------------------
-
-/**
- Returns a localized string representation of an `AFNetworkReachabilityStatus` value.
- */
-extern NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status);
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m
deleted file mode 100644
index 1da148282d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m
+++ /dev/null
@@ -1,259 +0,0 @@
-// AFNetworkReachabilityManager.m
-//
-// 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.
-
-#import "AFNetworkReachabilityManager.h"
-
-#import <netinet/in.h>
-#import <netinet6/in6.h>
-#import <arpa/inet.h>
-#import <ifaddrs.h>
-#import <netdb.h>
-
-NSString * const AFNetworkingReachabilityDidChangeNotification = @"com.alamofire.networking.reachability.change";
-NSString * const AFNetworkingReachabilityNotificationStatusItem = @"AFNetworkingReachabilityNotificationStatusItem";
-
-typedef void (^AFNetworkReachabilityStatusBlock)(AFNetworkReachabilityStatus status);
-
-typedef NS_ENUM(NSUInteger, AFNetworkReachabilityAssociation) {
- AFNetworkReachabilityForAddress = 1,
- AFNetworkReachabilityForAddressPair = 2,
- AFNetworkReachabilityForName = 3,
-};
-
-NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status) {
- switch (status) {
- case AFNetworkReachabilityStatusNotReachable:
- return NSLocalizedStringFromTable(@"Not Reachable", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusReachableViaWWAN:
- return NSLocalizedStringFromTable(@"Reachable via WWAN", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusReachableViaWiFi:
- return NSLocalizedStringFromTable(@"Reachable via WiFi", @"AFNetworking", nil);
- case AFNetworkReachabilityStatusUnknown:
- default:
- return NSLocalizedStringFromTable(@"Unknown", @"AFNetworking", nil);
- }
-}
-
-static AFNetworkReachabilityStatus AFNetworkReachabilityStatusForFlags(SCNetworkReachabilityFlags flags) {
- BOOL isReachable = ((flags & kSCNetworkReachabilityFlagsReachable) != 0);
- BOOL needsConnection = ((flags & kSCNetworkReachabilityFlagsConnectionRequired) != 0);
- BOOL canConnectionAutomatically = (((flags & kSCNetworkReachabilityFlagsConnectionOnDemand ) != 0) || ((flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) != 0));
- BOOL canConnectWithoutUserInteraction = (canConnectionAutomatically && (flags & kSCNetworkReachabilityFlagsInterventionRequired) == 0);
- BOOL isNetworkReachable = (isReachable && (!needsConnection || canConnectWithoutUserInteraction));
-
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusUnknown;
- if (isNetworkReachable == NO) {
- status = AFNetworkReachabilityStatusNotReachable;
- }
-#if TARGET_OS_IPHONE
- else if ((flags & kSCNetworkReachabilityFlagsIsWWAN) != 0) {
- status = AFNetworkReachabilityStatusReachableViaWWAN;
- }
-#endif
- else {
- status = AFNetworkReachabilityStatusReachableViaWiFi;
- }
-
- return status;
-}
-
-static void AFNetworkReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNetworkReachabilityFlags flags, void *info) {
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
- AFNetworkReachabilityStatusBlock block = (__bridge AFNetworkReachabilityStatusBlock)info;
- if (block) {
- block(status);
- }
-
-
- dispatch_async(dispatch_get_main_queue(), ^{
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:@{ AFNetworkingReachabilityNotificationStatusItem: @(status) }];
- });
-
-}
-
-static const void * AFNetworkReachabilityRetainCallback(const void *info) {
- return Block_copy(info);
-}
-
-static void AFNetworkReachabilityReleaseCallback(const void *info) {
- if (info) {
- Block_release(info);
- }
-}
-
-@interface AFNetworkReachabilityManager ()
-@property (readwrite, nonatomic, assign) SCNetworkReachabilityRef networkReachability;
-@property (readwrite, nonatomic, assign) AFNetworkReachabilityAssociation networkReachabilityAssociation;
-@property (readwrite, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
-@property (readwrite, nonatomic, copy) AFNetworkReachabilityStatusBlock networkReachabilityStatusBlock;
-@end
-
-@implementation AFNetworkReachabilityManager
-
-+ (instancetype)sharedManager {
- static AFNetworkReachabilityManager *_sharedManager = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- struct sockaddr_in address;
- bzero(&address, sizeof(address));
- address.sin_len = sizeof(address);
- address.sin_family = AF_INET;
-
- _sharedManager = [self managerForAddress:&address];
- });
-
- return _sharedManager;
-}
-
-+ (instancetype)managerForDomain:(NSString *)domain {
- SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithName(kCFAllocatorDefault, [domain UTF8String]);
-
- AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
- manager.networkReachabilityAssociation = AFNetworkReachabilityForName;
-
- return manager;
-}
-
-+ (instancetype)managerForAddress:(const void *)address {
- SCNetworkReachabilityRef reachability = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr *)address);
-
- AFNetworkReachabilityManager *manager = [[self alloc] initWithReachability:reachability];
- manager.networkReachabilityAssociation = AFNetworkReachabilityForAddress;
-
- return manager;
-}
-
-- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.networkReachability = reachability;
- self.networkReachabilityStatus = AFNetworkReachabilityStatusUnknown;
-
- return self;
-}
-
-- (void)dealloc {
- [self stopMonitoring];
-
- if (_networkReachability) {
- CFRelease(_networkReachability);
- _networkReachability = NULL;
- }
-}
-
-#pragma mark -
-
-- (BOOL)isReachable {
- return [self isReachableViaWWAN] || [self isReachableViaWiFi];
-}
-
-- (BOOL)isReachableViaWWAN {
- return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWWAN;
-}
-
-- (BOOL)isReachableViaWiFi {
- return self.networkReachabilityStatus == AFNetworkReachabilityStatusReachableViaWiFi;
-}
-
-#pragma mark -
-
-- (void)startMonitoring {
- [self stopMonitoring];
-
- if (!self.networkReachability) {
- return;
- }
-
- __weak __typeof(self)weakSelf = self;
- AFNetworkReachabilityStatusBlock callback = ^(AFNetworkReachabilityStatus status) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
- strongSelf.networkReachabilityStatus = status;
- if (strongSelf.networkReachabilityStatusBlock) {
- strongSelf.networkReachabilityStatusBlock(status);
- }
-
- };
-
- SCNetworkReachabilityContext context = {0, (__bridge void *)callback, AFNetworkReachabilityRetainCallback, AFNetworkReachabilityReleaseCallback, NULL};
- SCNetworkReachabilitySetCallback(self.networkReachability, AFNetworkReachabilityCallback, &context);
- SCNetworkReachabilityScheduleWithRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
-
- switch (self.networkReachabilityAssociation) {
- case AFNetworkReachabilityForName:
- break;
- case AFNetworkReachabilityForAddress:
- case AFNetworkReachabilityForAddressPair:
- default: {
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0),^{
- SCNetworkReachabilityFlags flags;
- SCNetworkReachabilityGetFlags(self.networkReachability, &flags);
- AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
- dispatch_async(dispatch_get_main_queue(), ^{
- callback(status);
-
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:@{ AFNetworkingReachabilityNotificationStatusItem: @(status) }];
-
-
- });
- });
- }
- break;
- }
-}
-
-- (void)stopMonitoring {
- if (!self.networkReachability) {
- return;
- }
-
- SCNetworkReachabilityUnscheduleFromRunLoop(self.networkReachability, CFRunLoopGetMain(), kCFRunLoopCommonModes);
-}
-
-#pragma mark -
-
-- (NSString *)localizedNetworkReachabilityStatusString {
- return AFStringFromNetworkReachabilityStatus(self.networkReachabilityStatus);
-}
-
-#pragma mark -
-
-- (void)setReachabilityStatusChangeBlock:(void (^)(AFNetworkReachabilityStatus status))block {
- self.networkReachabilityStatusBlock = block;
-}
-
-#pragma mark - NSKeyValueObserving
-
-+ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key {
- if ([key isEqualToString:@"reachable"] || [key isEqualToString:@"reachableViaWWAN"] || [key isEqualToString:@"reachableViaWiFi"]) {
- return [NSSet setWithObject:@"networkReachabilityStatus"];
- }
-
- return [super keyPathsForValuesAffectingValueForKey:key];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h
deleted file mode 100644
index 68273da58e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// AFNetworking.h
-//
-// Copyright (c) 2013 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.
-
-#import <Foundation/Foundation.h>
-#import <Availability.h>
-
-#ifndef _AFNETWORKING_
- #define _AFNETWORKING_
-
- #import "AFURLRequestSerialization.h"
- #import "AFURLResponseSerialization.h"
- #import "AFSecurityPolicy.h"
- #import "AFNetworkReachabilityManager.h"
-
- #import "AFURLConnectionOperation.h"
- #import "AFHTTPRequestOperation.h"
- #import "AFHTTPRequestOperationManager.h"
-
-#if ( ( defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090) || \
- ( defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 ) )
- #import "AFURLSessionManager.h"
- #import "AFHTTPSessionManager.h"
-#endif
-
-#endif /* _AFNETWORKING_ */
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h
deleted file mode 100644
index a880d75191..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1,143 +0,0 @@
-// AFSecurity.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import <Security/Security.h>
-
-typedef NS_ENUM(NSUInteger, AFSSLPinningMode) {
- AFSSLPinningModeNone,
- AFSSLPinningModePublicKey,
- AFSSLPinningModeCertificate,
-};
-
-/**
- `AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
- Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
- */
-@interface AFSecurityPolicy : NSObject
-
-/**
- The criteria by which server trust should be evaluated against the pinned SSL certificates. Defaults to `AFSSLPinningModeNone`.
- */
-@property (readonly, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
-
-/**
- Whether to evaluate an entire SSL certificate chain, or just the leaf certificate. Defaults to `YES`.
- */
-@property (nonatomic, assign) BOOL validatesCertificateChain;
-
-/**
- The certificates used to evaluate server trust according to the SSL pinning mode. By default, this property is set to any (`.cer`) certificates included in the app bundle.
- */
-@property (nonatomic, strong) NSArray *pinnedCertificates;
-
-/**
- Whether or not to trust servers with an invalid or expired SSL certificates. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL allowInvalidCertificates;
-
-/**
- Whether or not to validate the domain name in the certificate's CN field. Defaults to `YES` for `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate`, otherwise `NO`.
- */
-@property (nonatomic, assign) BOOL validatesDomainName;
-
-///-----------------------------------------
-/// @name Getting Specific Security Policies
-///-----------------------------------------
-
-/**
- Returns the shared default security policy, which does not allow invalid certificates, does not validate domain name, and does not validate against pinned certificates or public keys.
-
- @return The default security policy.
- */
-+ (instancetype)defaultPolicy;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a security policy with the specified pinning mode.
-
- @param pinningMode The SSL pinning mode.
-
- @return A new security policy.
- */
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode;
-
-///------------------------------
-/// @name Evaluating Server Trust
-///------------------------------
-
-/**
- Whether or not the specified server trust should be accepted, based on the security policy.
-
- This method should be used when responding to an authentication challenge from a server.
-
- @param serverTrust The X.509 certificate trust of the server.
-
- @return Whether or not to trust the server.
-
- @warning This method has been deprecated in favor of `-evaluateServerTrust:forDomain:`.
- */
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust DEPRECATED_ATTRIBUTE;
-
-/**
- Whether or not the specified server trust should be accepted, based on the security policy.
-
- This method should be used when responding to an authentication challenge from a server.
-
- @param serverTrust The X.509 certificate trust of the server.
- @param domain The domain of serverTrust. If `nil`, the domain will not be validated.
-
- @return Whether or not to trust the server.
- */
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
- forDomain:(NSString *)domain;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## SSL Pinning Modes
-
- The following constants are provided by `AFSSLPinningMode` as possible SSL pinning modes.
-
- enum {
- AFSSLPinningModeNone,
- AFSSLPinningModePublicKey,
- AFSSLPinningModeCertificate,
- }
-
- `AFSSLPinningModeNone`
- Do not used pinned certificates to validate servers.
-
- `AFSSLPinningModePublicKey`
- Validate host certificates against public keys of pinned certificates.
-
- `AFSSLPinningModeCertificate`
- Validate host certificates against pinned certificates.
-*/
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m
deleted file mode 100644
index 1f97f914f3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFSecurityPolicy.m
+++ /dev/null
@@ -1,335 +0,0 @@
-// AFSecurity.m
-//
-// 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.
-
-#import "AFSecurityPolicy.h"
-
-// Equivalent of macro in <AssertMacros.h>, without causing compiler warning:
-// "'DebugAssert' is deprecated: first deprecated in OS X 10.8"
-#ifndef AF_Require
- #define AF_Require(assertion, exceptionLabel) \
- do { \
- if (__builtin_expect(!(assertion), 0)) { \
- goto exceptionLabel; \
- } \
- } while (0)
-#endif
-
-#ifndef AF_Require_noErr
- #define AF_Require_noErr(errorCode, exceptionLabel) \
- do { \
- if (__builtin_expect(0 != (errorCode), 0)) { \
- goto exceptionLabel; \
- } \
- } while (0)
-#endif
-
-#if !defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-static NSData * AFSecKeyGetData(SecKeyRef key) {
- CFDataRef data = NULL;
-
- AF_Require_noErr(SecItemExport(key, kSecFormatUnknown, kSecItemPemArmour, NULL, &data), _out);
-
- return (__bridge_transfer NSData *)data;
-
-_out:
- if (data) {
- CFRelease(data);
- }
-
- return nil;
-}
-#endif
-
-static BOOL AFSecKeyIsEqualToKey(SecKeyRef key1, SecKeyRef key2) {
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- return [(__bridge id)key1 isEqual:(__bridge id)key2];
-#else
- return [AFSecKeyGetData(key1) isEqual:AFSecKeyGetData(key2)];
-#endif
-}
-
-static id AFPublicKeyForCertificate(NSData *certificate) {
- id allowedPublicKey = nil;
- SecCertificateRef allowedCertificate;
- SecCertificateRef allowedCertificates[1];
- CFArrayRef tempCertificates = nil;
- SecPolicyRef policy = nil;
- SecTrustRef allowedTrust = nil;
- SecTrustResultType result;
-
- allowedCertificate = SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificate);
- AF_Require(allowedCertificate != NULL, _out);
-
- allowedCertificates[0] = allowedCertificate;
- tempCertificates = CFArrayCreate(NULL, (const void **)allowedCertificates, 1, NULL);
-
- policy = SecPolicyCreateBasicX509();
- AF_Require_noErr(SecTrustCreateWithCertificates(tempCertificates, policy, &allowedTrust), _out);
- AF_Require_noErr(SecTrustEvaluate(allowedTrust, &result), _out);
-
- allowedPublicKey = (__bridge_transfer id)SecTrustCopyPublicKey(allowedTrust);
-
-_out:
- if (allowedTrust) {
- CFRelease(allowedTrust);
- }
-
- if (policy) {
- CFRelease(policy);
- }
-
- if (tempCertificates) {
- CFRelease(tempCertificates);
- }
-
- if (allowedCertificate) {
- CFRelease(allowedCertificate);
- }
-
- return allowedPublicKey;
-}
-
-static BOOL AFServerTrustIsValid(SecTrustRef serverTrust) {
- BOOL isValid = NO;
- SecTrustResultType result;
- AF_Require_noErr(SecTrustEvaluate(serverTrust, &result), _out);
-
- isValid = (result == kSecTrustResultUnspecified || result == kSecTrustResultProceed);
-
-_out:
- return isValid;
-}
-
-static NSArray * AFCertificateTrustChainForServerTrust(SecTrustRef serverTrust) {
- CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
- NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
-
- for (CFIndex i = 0; i < certificateCount; i++) {
- SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
- [trustChain addObject:(__bridge_transfer NSData *)SecCertificateCopyData(certificate)];
- }
-
- return [NSArray arrayWithArray:trustChain];
-}
-
-static NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {
- SecPolicyRef policy = SecPolicyCreateBasicX509();
- CFIndex certificateCount = SecTrustGetCertificateCount(serverTrust);
- NSMutableArray *trustChain = [NSMutableArray arrayWithCapacity:(NSUInteger)certificateCount];
- for (CFIndex i = 0; i < certificateCount; i++) {
- SecCertificateRef certificate = SecTrustGetCertificateAtIndex(serverTrust, i);
-
- SecCertificateRef someCertificates[] = {certificate};
- CFArrayRef certificates = CFArrayCreate(NULL, (const void **)someCertificates, 1, NULL);
-
- SecTrustRef trust;
- AF_Require_noErr(SecTrustCreateWithCertificates(certificates, policy, &trust), _out);
-
- SecTrustResultType result;
- AF_Require_noErr(SecTrustEvaluate(trust, &result), _out);
-
- [trustChain addObject:(__bridge_transfer id)SecTrustCopyPublicKey(trust)];
-
- _out:
- if (trust) {
- CFRelease(trust);
- }
-
- if (certificates) {
- CFRelease(certificates);
- }
-
- continue;
- }
- CFRelease(policy);
-
- return [NSArray arrayWithArray:trustChain];
-}
-
-#pragma mark -
-
-@interface AFSecurityPolicy()
-@property (readwrite, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
-@property (readwrite, nonatomic, strong) NSArray *pinnedPublicKeys;
-@end
-
-@implementation AFSecurityPolicy
-
-+ (NSArray *)defaultPinnedCertificates {
- static NSArray *_defaultPinnedCertificates = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- NSBundle *bundle = [NSBundle bundleForClass:[self class]];
- NSArray *paths = [bundle pathsForResourcesOfType:@"cer" inDirectory:@"."];
-
- NSMutableArray *certificates = [NSMutableArray arrayWithCapacity:[paths count]];
- for (NSString *path in paths) {
- NSData *certificateData = [NSData dataWithContentsOfFile:path];
- [certificates addObject:certificateData];
- }
-
- _defaultPinnedCertificates = [[NSArray alloc] initWithArray:certificates];
- });
-
- return _defaultPinnedCertificates;
-}
-
-+ (instancetype)defaultPolicy {
- AFSecurityPolicy *securityPolicy = [[self alloc] init];
- securityPolicy.SSLPinningMode = AFSSLPinningModeNone;
-
- return securityPolicy;
-}
-
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode {
- AFSecurityPolicy *securityPolicy = [[self alloc] init];
- securityPolicy.SSLPinningMode = pinningMode;
-
- [securityPolicy setPinnedCertificates:[self defaultPinnedCertificates]];
-
- return securityPolicy;
-}
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.validatesCertificateChain = YES;
-
- return self;
-}
-
-#pragma mark -
-
-- (void)setSSLPinningMode:(AFSSLPinningMode)SSLPinningMode {
- _SSLPinningMode = SSLPinningMode;
-
- switch (self.SSLPinningMode) {
- case AFSSLPinningModePublicKey:
- case AFSSLPinningModeCertificate:
- self.validatesDomainName = YES;
- break;
- default:
- self.validatesDomainName = NO;
- break;
- }
-}
-
-- (void)setPinnedCertificates:(NSArray *)pinnedCertificates {
- _pinnedCertificates = pinnedCertificates;
-
- if (self.pinnedCertificates) {
- NSMutableArray *mutablePinnedPublicKeys = [NSMutableArray arrayWithCapacity:[self.pinnedCertificates count]];
- for (NSData *certificate in self.pinnedCertificates) {
- id publicKey = AFPublicKeyForCertificate(certificate);
- if (!publicKey) {
- continue;
- }
- [mutablePinnedPublicKeys addObject:publicKey];
- }
- self.pinnedPublicKeys = [NSArray arrayWithArray:mutablePinnedPublicKeys];
- } else {
- self.pinnedPublicKeys = nil;
- }
-}
-
-#pragma mark -
-
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust {
- return [self evaluateServerTrust:serverTrust forDomain:nil];
-}
-
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
- forDomain:(NSString *)domain
-{
- NSMutableArray *policies = [NSMutableArray array];
- if (self.validatesDomainName) {
- [policies addObject:(__bridge_transfer id)SecPolicyCreateSSL(true, (__bridge CFStringRef)domain)];
- } else {
- [policies addObject:(__bridge_transfer id)SecPolicyCreateBasicX509()];
- }
-
- SecTrustSetPolicies(serverTrust, (__bridge CFArrayRef)policies);
-
- if (!AFServerTrustIsValid(serverTrust) && !self.allowInvalidCertificates) {
- return NO;
- }
-
- NSArray *serverCertificates = AFCertificateTrustChainForServerTrust(serverTrust);
- switch (self.SSLPinningMode) {
- case AFSSLPinningModeNone:
- return YES;
- case AFSSLPinningModeCertificate: {
- NSMutableArray *pinnedCertificates = [NSMutableArray array];
- for (NSData *certificateData in self.pinnedCertificates) {
- [pinnedCertificates addObject:(__bridge_transfer id)SecCertificateCreateWithData(NULL, (__bridge CFDataRef)certificateData)];
- }
- SecTrustSetAnchorCertificates(serverTrust, (__bridge CFArrayRef)pinnedCertificates);
-
- if (!AFServerTrustIsValid(serverTrust)) {
- return NO;
- }
-
- if (!self.validatesCertificateChain) {
- return YES;
- }
-
- NSUInteger trustedCertificateCount = 0;
- for (NSData *trustChainCertificate in serverCertificates) {
- if ([self.pinnedCertificates containsObject:trustChainCertificate]) {
- trustedCertificateCount++;
- }
- }
-
- return trustedCertificateCount == [serverCertificates count];
- }
- case AFSSLPinningModePublicKey: {
- NSUInteger trustedPublicKeyCount = 0;
- NSArray *publicKeys = AFPublicKeyTrustChainForServerTrust(serverTrust);
- if (!self.validatesCertificateChain && [publicKeys count] > 0) {
- publicKeys = @[[publicKeys firstObject]];
- }
-
- for (id trustChainPublicKey in publicKeys) {
- for (id pinnedPublicKey in self.pinnedPublicKeys) {
- if (AFSecKeyIsEqualToKey((__bridge SecKeyRef)trustChainPublicKey, (__bridge SecKeyRef)pinnedPublicKey)) {
- trustedPublicKeyCount += 1;
- }
- }
- }
-
- return trustedPublicKeyCount > 0 && ((self.validatesCertificateChain && trustedPublicKeyCount == [serverCertificates count]) || (!self.validatesCertificateChain && trustedPublicKeyCount >= 1));
- }
- }
-
- return NO;
-}
-
-#pragma mark - NSKeyValueObserving
-
-+ (NSSet *)keyPathsForValuesAffectingPinnedPublicKeys {
- return [NSSet setWithObject:@"pinnedCertificates"];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
deleted file mode 100644
index 85435564c3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1,328 +0,0 @@
-// AFURLConnectionOperation.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
-#import "AFSecurityPolicy.h"
-
-/**
- `AFURLConnectionOperation` is a subclass of `NSOperation` that implements `NSURLConnection` delegate methods.
-
- ## Subclassing Notes
-
- This is the base class of all network request operations. You may wish to create your own subclass in order to implement additional `NSURLConnection` delegate methods (see "`NSURLConnection` Delegate Methods" below), or to provide additional properties and/or class constructors.
-
- If you are creating a subclass that communicates over the HTTP or HTTPS protocols, you may want to consider subclassing `AFHTTPRequestOperation` instead, as it supports specifying acceptable content types or status codes.
-
- ## NSURLConnection Delegate Methods
-
- `AFURLConnectionOperation` implements the following `NSURLConnection` delegate methods:
-
- - `connection:didReceiveResponse:`
- - `connection:didReceiveData:`
- - `connectionDidFinishLoading:`
- - `connection:didFailWithError:`
- - `connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:`
- - `connection:willCacheResponse:`
- - `connectionShouldUseCredentialStorage:`
- - `connection:needNewBodyStream:`
- - `connection:willSendRequestForAuthenticationChallenge:`
-
- If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.
-
- ## Callbacks and Completion Blocks
-
- The built-in `completionBlock` provided by `NSOperation` allows for custom behavior to be executed after the request finishes. It is a common pattern for class constructors in subclasses to take callback block parameters, and execute them conditionally in the body of its `completionBlock`. Make sure to handle cancelled operations appropriately when setting a `completionBlock` (i.e. returning early before parsing response data). See the implementation of any of the `AFHTTPRequestOperation` subclasses for an example of this.
-
- Subclasses are strongly discouraged from overriding `setCompletionBlock:`, as `AFURLConnectionOperation`'s implementation includes a workaround to mitigate retain cycles, and what Apple rather ominously refers to as ["The Deallocation Problem"](http://developer.apple.com/library/ios/#technotes/tn2109/).
-
- ## SSL Pinning
-
- Relying on the CA trust model to validate SSL certificates exposes your app to security vulnerabilities, such as man-in-the-middle attacks. For applications that connect to known servers, SSL certificate pinning provides an increased level of security, by checking server certificate validity against those specified in the app bundle.
-
- SSL with certificate pinning is strongly recommended for any application that transmits sensitive information to an external webservice.
-
- Connections will be validated on all matching certificates with a `.cer` extension in the bundle root.
-
- ## App Extensions
-
- When using AFNetworking in an App Extension, `#define AF_APP_EXTENSIONS` to avoid using unavailable APIs.
-
- ## NSCoding & NSCopying Conformance
-
- `AFURLConnectionOperation` conforms to the `NSCoding` and `NSCopying` protocols, allowing operations to be archived to disk, and copied in memory, respectively. However, because of the intrinsic limitations of capturing the exact state of an operation at a particular moment, there are some important caveats to keep in mind:
-
- ### NSCoding Caveats
-
- - Encoded operations do not include any block or stream properties. Be sure to set `completionBlock`, `outputStream`, and any callback blocks as necessary when using `-initWithCoder:` or `NSKeyedUnarchiver`.
- - Operations are paused on `encodeWithCoder:`. If the operation was encoded while paused or still executing, its archived state will return `YES` for `isReady`. Otherwise, the state of an operation when encoding will remain unchanged.
-
- ### NSCopying Caveats
-
- - `-copy` and `-copyWithZone:` return a new operation with the `NSURLRequest` of the original. So rather than an exact copy of the operation at that particular instant, the copying mechanism returns a completely new instance, which can be useful for retrying operations.
- - A copy of an operation will not include the `outputStream` of the original.
- - Operation copies do not include `completionBlock`, as it often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ operation when copied.
- */
-
-@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate, NSURLConnectionDataDelegate, NSSecureCoding, NSCopying>
-
-///-------------------------------
-/// @name Accessing Run Loop Modes
-///-------------------------------
-
-/**
- The run loop modes in which the operation will run on the network thread. By default, this is a single-member set containing `NSRunLoopCommonModes`.
- */
-@property (nonatomic, strong) NSSet *runLoopModes;
-
-///-----------------------------------------
-/// @name Getting URL Connection Information
-///-----------------------------------------
-
-/**
- The request used by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSURLRequest *request;
-
-/**
- The last response received by the operation's connection.
- */
-@property (readonly, nonatomic, strong) NSURLResponse *response;
-
-/**
- The error, if any, that occurred in the lifecycle of the request.
- */
-@property (readonly, nonatomic, strong) NSError *error;
-
-///----------------------------
-/// @name Getting Response Data
-///----------------------------
-
-/**
- The data received during the request.
- */
-@property (readonly, nonatomic, strong) NSData *responseData;
-
-/**
- The string representation of the response data.
- */
-@property (readonly, nonatomic, copy) NSString *responseString;
-
-/**
- The string encoding of the response.
-
- If the response does not specify a valid string encoding, `responseStringEncoding` will return `NSUTF8StringEncoding`.
- */
-@property (readonly, nonatomic, assign) NSStringEncoding responseStringEncoding;
-
-///-------------------------------
-/// @name Managing URL Credentials
-///-------------------------------
-
-/**
- Whether the URL connection should consult the credential storage for authenticating the connection. `YES` by default.
-
- This is the value that is returned in the `NSURLConnectionDelegate` method `-connectionShouldUseCredentialStorage:`.
- */
-@property (nonatomic, assign) BOOL shouldUseCredentialStorage;
-
-/**
- The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`.
-
- This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.
- */
-@property (nonatomic, strong) NSURLCredential *credential;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used to evaluate server trust for secure connections.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///------------------------
-/// @name Accessing Streams
-///------------------------
-
-/**
- The input stream used to read data to be sent during the request.
-
- This property acts as a proxy to the `HTTPBodyStream` property of `request`.
- */
-@property (nonatomic, strong) NSInputStream *inputStream;
-
-/**
- The output stream that is used to write data received until the request is finished.
-
- By default, data is accumulated into a buffer that is stored into `responseData` upon completion of the request, with the intermediary `outputStream` property set to `nil`. When `outputStream` is set, the data will not be accumulated into an internal buffer, and as a result, the `responseData` property of the completed request will be `nil`. The output stream will be scheduled in the network thread runloop upon being set.
- */
-@property (nonatomic, strong) NSOutputStream *outputStream;
-
-///---------------------------------
-/// @name Managing Callback Queues
-///---------------------------------
-
-/**
- The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------------------
-/// @name Managing Request Operation Information
-///---------------------------------------------
-
-/**
- The user info dictionary for the receiver.
- */
-@property (nonatomic, strong) NSDictionary *userInfo;
-
-///------------------------------------------------------
-/// @name Initializing an AFURLConnectionOperation Object
-///------------------------------------------------------
-
-/**
- Initializes and returns a newly allocated operation object with a url connection configured with the specified url request.
-
- This is the designated initializer.
-
- @param urlRequest The request object to be used by the operation connection.
- */
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest;
-
-///----------------------------------
-/// @name Pausing / Resuming Requests
-///----------------------------------
-
-/**
- Pauses the execution of the request operation.
-
- A paused operation returns `NO` for `-isReady`, `-isExecuting`, and `-isFinished`. As such, it will remain in an `NSOperationQueue` until it is either cancelled or resumed. Pausing a finished, cancelled, or paused operation has no effect.
- */
-- (void)pause;
-
-/**
- Whether the request operation is currently paused.
-
- @return `YES` if the operation is currently paused, otherwise `NO`.
- */
-- (BOOL)isPaused;
-
-/**
- Resumes the execution of the paused request operation.
-
- Pause/Resume behavior varies depending on the underlying implementation for the operation class. In its base implementation, resuming a paused requests restarts the original request. However, since HTTP defines a specification for how to request a specific content range, `AFHTTPRequestOperation` will resume downloading the request from where it left off, instead of restarting the original request.
- */
-- (void)resume;
-
-///----------------------------------------------
-/// @name Configuring Backgrounding Task Behavior
-///----------------------------------------------
-
-/**
- Specifies that the operation should continue execution after the app has entered the background, and the expiration handler for that background task.
-
- @param handler A handler to be called shortly before the application’s remaining background time reaches 0. The handler is wrapped in a block that cancels the operation, and cleans up and marks the end of execution, unlike the `handler` parameter in `UIApplication -beginBackgroundTaskWithExpirationHandler:`, which expects this to be done in the handler itself. The handler is called synchronously on the main thread, thus blocking the application’s suspension momentarily while the application is notified.
- */
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-- (void)setShouldExecuteAsBackgroundTaskWithExpirationHandler:(void (^)(void))handler;
-#endif
-
-///---------------------------------
-/// @name Setting Progress Callbacks
-///---------------------------------
-
-/**
- Sets a callback to be called when an undetermined number of bytes have been uploaded to the server.
-
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes three arguments: the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setUploadProgressBlock:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))block;
-
-/**
- Sets a callback to be called when an undetermined number of bytes have been downloaded from the server.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setDownloadProgressBlock:(void (^)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead))block;
-
-///-------------------------------------------------
-/// @name Setting NSURLConnection Delegate Callbacks
-///-------------------------------------------------
-
-/**
- Sets a block to be executed when the connection will authenticate a challenge in order to download its request, as handled by the `NSURLConnectionDelegate` method `connection:willSendRequestForAuthenticationChallenge:`.
-
- @param block A block object to be executed when the connection will authenticate a challenge in order to download its request. The block has no return type and takes two arguments: the URL connection object, and the challenge that must be authenticated. This block must invoke one of the challenge-responder methods (NSURLAuthenticationChallengeSender protocol).
-
- If `allowsInvalidSSLCertificate` is set to YES, `connection:willSendRequestForAuthenticationChallenge:` will attempt to have the challenge sender use credentials with invalid SSL certificates.
- */
-- (void)setWillSendRequestForAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block;
-
-/**
- Sets a block to be executed when the server redirects the request from one URL to another URL, or when the request URL changed by the `NSURLProtocol` subclass handling the request in order to standardize its format, as handled by the `NSURLConnectionDataDelegate` method `connection:willSendRequest:redirectResponse:`.
-
- @param block A block object to be executed when the request URL was changed. The block returns an `NSURLRequest` object, the URL request to redirect, and takes three arguments: the URL connection object, the the proposed redirected request, and the URL response that caused the redirect.
- */
-- (void)setRedirectResponseBlock:(NSURLRequest * (^)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse))block;
-
-
-/**
- Sets a block to be executed to modify the response a connection will cache, if any, as handled by the `NSURLConnectionDelegate` method `connection:willCacheResponse:`.
-
- @param block A block object to be executed to determine what response a connection will cache, if any. The block returns an `NSCachedURLResponse` object, the cached response to store in memory or `nil` to prevent the response from being cached, and takes two arguments: the URL connection object, and the cached response provided for the request.
- */
-- (void)setCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse))block;
-
-///
-
-/**
-
- */
-+ (NSArray *)batchOfRequestOperations:(NSArray *)operations
- progressBlock:(void (^)(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations))progressBlock
- completionBlock:(void (^)(NSArray *operations))completionBlock;
-
-@end
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when an operation begins executing.
- */
-extern NSString * const AFNetworkingOperationDidStartNotification;
-
-/**
- Posted when an operation finishes.
- */
-extern NSString * const AFNetworkingOperationDidFinishNotification;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
deleted file mode 100644
index cfe609a2de..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
+++ /dev/null
@@ -1,789 +0,0 @@
-// AFURLConnectionOperation.m
-//
-// 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.
-
-#import "AFURLConnectionOperation.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-#if !__has_feature(objc_arc)
-#error AFNetworking must be built with ARC.
-// You can turn on ARC for only AFNetworking files by adding -fobjc-arc to the build phase for each of its files.
-#endif
-
-typedef NS_ENUM(NSInteger, AFOperationState) {
- AFOperationPausedState = -1,
- AFOperationReadyState = 1,
- AFOperationExecutingState = 2,
- AFOperationFinishedState = 3,
-};
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-typedef UIBackgroundTaskIdentifier AFBackgroundTaskIdentifier;
-#else
-typedef id AFBackgroundTaskIdentifier;
-#endif
-
-static dispatch_group_t url_request_operation_completion_group() {
- static dispatch_group_t af_url_request_operation_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_request_operation_completion_group = dispatch_group_create();
- });
-
- return af_url_request_operation_completion_group;
-}
-
-static dispatch_queue_t url_request_operation_completion_queue() {
- static dispatch_queue_t af_url_request_operation_completion_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_request_operation_completion_queue = dispatch_queue_create("com.alamofire.networking.operation.queue", DISPATCH_QUEUE_CONCURRENT );
- });
-
- return af_url_request_operation_completion_queue;
-}
-
-static NSString * const kAFNetworkingLockName = @"com.alamofire.networking.operation.lock";
-
-NSString * const AFNetworkingOperationDidStartNotification = @"com.alamofire.networking.operation.start";
-NSString * const AFNetworkingOperationDidFinishNotification = @"com.alamofire.networking.operation.finish";
-
-typedef void (^AFURLConnectionOperationProgressBlock)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-typedef void (^AFURLConnectionOperationAuthenticationChallengeBlock)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge);
-typedef NSCachedURLResponse * (^AFURLConnectionOperationCacheResponseBlock)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse);
-typedef NSURLRequest * (^AFURLConnectionOperationRedirectResponseBlock)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse);
-
-static inline NSString * AFKeyPathFromOperationState(AFOperationState state) {
- switch (state) {
- case AFOperationReadyState:
- return @"isReady";
- case AFOperationExecutingState:
- return @"isExecuting";
- case AFOperationFinishedState:
- return @"isFinished";
- case AFOperationPausedState:
- return @"isPaused";
- default: {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code"
- return @"state";
-#pragma clang diagnostic pop
- }
- }
-}
-
-static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperationState toState, BOOL isCancelled) {
- switch (fromState) {
- case AFOperationReadyState:
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationExecutingState:
- return YES;
- case AFOperationFinishedState:
- return isCancelled;
- default:
- return NO;
- }
- case AFOperationExecutingState:
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationFinishedState:
- return YES;
- default:
- return NO;
- }
- case AFOperationFinishedState:
- return NO;
- case AFOperationPausedState:
- return toState == AFOperationReadyState;
- default: {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code"
- switch (toState) {
- case AFOperationPausedState:
- case AFOperationReadyState:
- case AFOperationExecutingState:
- case AFOperationFinishedState:
- return YES;
- default:
- return NO;
- }
- }
-#pragma clang diagnostic pop
- }
-}
-
-@interface AFURLConnectionOperation ()
-@property (readwrite, nonatomic, assign) AFOperationState state;
-@property (readwrite, nonatomic, strong) NSRecursiveLock *lock;
-@property (readwrite, nonatomic, strong) NSURLConnection *connection;
-@property (readwrite, nonatomic, strong) NSURLRequest *request;
-@property (readwrite, nonatomic, strong) NSURLResponse *response;
-@property (readwrite, nonatomic, strong) NSError *error;
-@property (readwrite, nonatomic, strong) NSData *responseData;
-@property (readwrite, nonatomic, copy) NSString *responseString;
-@property (readwrite, nonatomic, assign) NSStringEncoding responseStringEncoding;
-@property (readwrite, nonatomic, assign) long long totalBytesRead;
-@property (readwrite, nonatomic, assign) AFBackgroundTaskIdentifier backgroundTaskIdentifier;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationProgressBlock uploadProgress;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationProgressBlock downloadProgress;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationAuthenticationChallengeBlock authenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationCacheResponseBlock cacheResponse;
-@property (readwrite, nonatomic, copy) AFURLConnectionOperationRedirectResponseBlock redirectResponse;
-
-- (void)operationDidStart;
-- (void)finish;
-- (void)cancelConnection;
-@end
-
-@implementation AFURLConnectionOperation
-@synthesize outputStream = _outputStream;
-
-+ (void)networkRequestThreadEntryPoint:(id)__unused object {
- @autoreleasepool {
- [[NSThread currentThread] setName:@"AFNetworking"];
-
- NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
- [runLoop addPort:[NSMachPort port] forMode:NSDefaultRunLoopMode];
- [runLoop run];
- }
-}
-
-+ (NSThread *)networkRequestThread {
- static NSThread *_networkRequestThread = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _networkRequestThread = [[NSThread alloc] initWithTarget:self selector:@selector(networkRequestThreadEntryPoint:) object:nil];
- [_networkRequestThread start];
- });
-
- return _networkRequestThread;
-}
-
-- (instancetype)initWithRequest:(NSURLRequest *)urlRequest {
- NSParameterAssert(urlRequest);
-
- self = [super init];
- if (!self) {
- return nil;
- }
-
- _state = AFOperationReadyState;
-
- self.lock = [[NSRecursiveLock alloc] init];
- self.lock.name = kAFNetworkingLockName;
-
- self.runLoopModes = [NSSet setWithObject:NSRunLoopCommonModes];
-
- self.request = urlRequest;
-
- self.shouldUseCredentialStorage = YES;
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- return self;
-}
-
-- (void)dealloc {
- if (_outputStream) {
- [_outputStream close];
- _outputStream = nil;
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
- if (_backgroundTaskIdentifier) {
- [[UIApplication sharedApplication] endBackgroundTask:_backgroundTaskIdentifier];
- _backgroundTaskIdentifier = UIBackgroundTaskInvalid;
- }
-#endif
-}
-
-#pragma mark -
-
-- (void)setResponseData:(NSData *)responseData {
- [self.lock lock];
- if (!responseData) {
- _responseData = nil;
- } else {
- _responseData = [NSData dataWithBytes:responseData.bytes length:responseData.length];
- }
- [self.lock unlock];
-}
-
-- (NSString *)responseString {
- [self.lock lock];
- if (!_responseString && self.response && self.responseData) {
- self.responseString = [[NSString alloc] initWithData:self.responseData encoding:self.responseStringEncoding];
- }
- [self.lock unlock];
-
- return _responseString;
-}
-
-- (NSStringEncoding)responseStringEncoding {
- [self.lock lock];
- if (!_responseStringEncoding && self.response) {
- NSStringEncoding stringEncoding = NSUTF8StringEncoding;
- if (self.response.textEncodingName) {
- CFStringEncoding IANAEncoding = CFStringConvertIANACharSetNameToEncoding((__bridge CFStringRef)self.response.textEncodingName);
- if (IANAEncoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(IANAEncoding);
- }
- }
-
- self.responseStringEncoding = stringEncoding;
- }
- [self.lock unlock];
-
- return _responseStringEncoding;
-}
-
-- (NSInputStream *)inputStream {
- return self.request.HTTPBodyStream;
-}
-
-- (void)setInputStream:(NSInputStream *)inputStream {
- NSMutableURLRequest *mutableRequest = [self.request mutableCopy];
- mutableRequest.HTTPBodyStream = inputStream;
- self.request = mutableRequest;
-}
-
-- (NSOutputStream *)outputStream {
- if (!_outputStream) {
- self.outputStream = [NSOutputStream outputStreamToMemory];
- }
-
- return _outputStream;
-}
-
-- (void)setOutputStream:(NSOutputStream *)outputStream {
- [self.lock lock];
- if (outputStream != _outputStream) {
- if (_outputStream) {
- [_outputStream close];
- }
-
- _outputStream = outputStream;
- }
- [self.lock unlock];
-}
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && !defined(AF_APP_EXTENSIONS)
-- (void)setShouldExecuteAsBackgroundTaskWithExpirationHandler:(void (^)(void))handler {
- [self.lock lock];
- if (!self.backgroundTaskIdentifier) {
- UIApplication *application = [UIApplication sharedApplication];
- __weak __typeof(self)weakSelf = self;
- self.backgroundTaskIdentifier = [application beginBackgroundTaskWithExpirationHandler:^{
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
- if (handler) {
- handler();
- }
-
- if (strongSelf) {
- [strongSelf cancel];
-
- [application endBackgroundTask:strongSelf.backgroundTaskIdentifier];
- strongSelf.backgroundTaskIdentifier = UIBackgroundTaskInvalid;
- }
- }];
- }
- [self.lock unlock];
-}
-#endif
-
-#pragma mark -
-
-- (void)setState:(AFOperationState)state {
- if (!AFStateTransitionIsValid(self.state, state, [self isCancelled])) {
- return;
- }
-
- [self.lock lock];
- NSString *oldStateKey = AFKeyPathFromOperationState(self.state);
- NSString *newStateKey = AFKeyPathFromOperationState(state);
-
- [self willChangeValueForKey:newStateKey];
- [self willChangeValueForKey:oldStateKey];
- _state = state;
- [self didChangeValueForKey:oldStateKey];
- [self didChangeValueForKey:newStateKey];
- [self.lock unlock];
-}
-
-- (void)pause {
- if ([self isPaused] || [self isFinished] || [self isCancelled]) {
- return;
- }
-
- [self.lock lock];
- if ([self isExecuting]) {
- [self performSelector:@selector(operationDidPause) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
- [notificationCenter postNotificationName:AFNetworkingOperationDidFinishNotification object:self];
- });
- }
-
- self.state = AFOperationPausedState;
- [self.lock unlock];
-}
-
-- (void)operationDidPause {
- [self.lock lock];
- [self.connection cancel];
- [self.lock unlock];
-}
-
-- (BOOL)isPaused {
- return self.state == AFOperationPausedState;
-}
-
-- (void)resume {
- if (![self isPaused]) {
- return;
- }
-
- [self.lock lock];
- self.state = AFOperationReadyState;
-
- [self start];
- [self.lock unlock];
-}
-
-#pragma mark -
-
-- (void)setUploadProgressBlock:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))block {
- self.uploadProgress = block;
-}
-
-- (void)setDownloadProgressBlock:(void (^)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead))block {
- self.downloadProgress = block;
-}
-
-- (void)setWillSendRequestForAuthenticationChallengeBlock:(void (^)(NSURLConnection *connection, NSURLAuthenticationChallenge *challenge))block {
- self.authenticationChallenge = block;
-}
-
-- (void)setCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLConnection *connection, NSCachedURLResponse *cachedResponse))block {
- self.cacheResponse = block;
-}
-
-- (void)setRedirectResponseBlock:(NSURLRequest * (^)(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse))block {
- self.redirectResponse = block;
-}
-
-#pragma mark - NSOperation
-
-- (void)setCompletionBlock:(void (^)(void))block {
- [self.lock lock];
- if (!block) {
- [super setCompletionBlock:nil];
- } else {
- __weak __typeof(self)weakSelf = self;
- [super setCompletionBlock:^ {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_group_t group = strongSelf.completionGroup ?: url_request_operation_completion_group();
- dispatch_queue_t queue = strongSelf.completionQueue ?: dispatch_get_main_queue();
-#pragma clang diagnostic pop
-
- dispatch_group_async(group, queue, ^{
- block();
- });
-
- dispatch_group_notify(group, url_request_operation_completion_queue(), ^{
- [strongSelf setCompletionBlock:nil];
- });
- }];
- }
- [self.lock unlock];
-}
-
-- (BOOL)isReady {
- return self.state == AFOperationReadyState && [super isReady];
-}
-
-- (BOOL)isExecuting {
- return self.state == AFOperationExecutingState;
-}
-
-- (BOOL)isFinished {
- return self.state == AFOperationFinishedState;
-}
-
-- (BOOL)isConcurrent {
- return YES;
-}
-
-- (void)start {
- [self.lock lock];
- if ([self isCancelled]) {
- [self performSelector:@selector(cancelConnection) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- } else if ([self isReady]) {
- self.state = AFOperationExecutingState;
-
- [self performSelector:@selector(operationDidStart) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- }
- [self.lock unlock];
-}
-
-- (void)operationDidStart {
- [self.lock lock];
- if (![self isCancelled]) {
- self.connection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:NO];
-
- NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
- for (NSString *runLoopMode in self.runLoopModes) {
- [self.connection scheduleInRunLoop:runLoop forMode:runLoopMode];
- [self.outputStream scheduleInRunLoop:runLoop forMode:runLoopMode];
- }
-
- [self.outputStream open];
- [self.connection start];
- }
- [self.lock unlock];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingOperationDidStartNotification object:self];
- });
-}
-
-- (void)finish {
- [self.lock lock];
- self.state = AFOperationFinishedState;
- [self.lock unlock];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingOperationDidFinishNotification object:self];
- });
-}
-
-- (void)cancel {
- [self.lock lock];
- if (![self isFinished] && ![self isCancelled]) {
- [super cancel];
-
- if ([self isExecuting]) {
- [self performSelector:@selector(cancelConnection) onThread:[[self class] networkRequestThread] withObject:nil waitUntilDone:NO modes:[self.runLoopModes allObjects]];
- }
- }
- [self.lock unlock];
-}
-
-- (void)cancelConnection {
- NSDictionary *userInfo = nil;
- if ([self.request URL]) {
- userInfo = [NSDictionary dictionaryWithObject:[self.request URL] forKey:NSURLErrorFailingURLErrorKey];
- }
- NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:userInfo];
-
- if (![self isFinished]) {
- if (self.connection) {
- [self.connection cancel];
- [self performSelector:@selector(connection:didFailWithError:) withObject:self.connection withObject:error];
- } else {
- // Accomodate race condition where `self.connection` has not yet been set before cancellation
- self.error = error;
- [self finish];
- }
- }
-}
-
-#pragma mark -
-
-+ (NSArray *)batchOfRequestOperations:(NSArray *)operations
- progressBlock:(void (^)(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations))progressBlock
- completionBlock:(void (^)(NSArray *operations))completionBlock
-{
- if (!operations || [operations count] == 0) {
- return @[[NSBlockOperation blockOperationWithBlock:^{
- dispatch_async(dispatch_get_main_queue(), ^{
- if (completionBlock) {
- completionBlock(@[]);
- }
- });
- }]];
- }
-
- __block dispatch_group_t group = dispatch_group_create();
- NSBlockOperation *batchedOperation = [NSBlockOperation blockOperationWithBlock:^{
- dispatch_group_notify(group, dispatch_get_main_queue(), ^{
- if (completionBlock) {
- completionBlock(operations);
- }
- });
- }];
-
- for (AFURLConnectionOperation *operation in operations) {
- operation.completionGroup = group;
- void (^originalCompletionBlock)(void) = [operation.completionBlock copy];
- __weak __typeof(operation)weakOperation = operation;
- operation.completionBlock = ^{
- __strong __typeof(weakOperation)strongOperation = weakOperation;
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- dispatch_queue_t queue = strongOperation.completionQueue ?: dispatch_get_main_queue();
-#pragma clang diagnostic pop
- dispatch_group_async(group, queue, ^{
- if (originalCompletionBlock) {
- originalCompletionBlock();
- }
-
- NSUInteger numberOfFinishedOperations = [[operations indexesOfObjectsPassingTest:^BOOL(id op, NSUInteger __unused idx, BOOL __unused *stop) {
- return [op isFinished];
- }] count];
-
- if (progressBlock) {
- progressBlock(numberOfFinishedOperations, [operations count]);
- }
-
- dispatch_group_leave(group);
- });
- };
-
- dispatch_group_enter(group);
- [batchedOperation addDependency:operation];
- }
-
- return [operations arrayByAddingObject:batchedOperation];
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- [self.lock lock];
- NSString *description = [NSString stringWithFormat:@"<%@: %p, state: %@, cancelled: %@ request: %@, response: %@>", NSStringFromClass([self class]), self, AFKeyPathFromOperationState(self.state), ([self isCancelled] ? @"YES" : @"NO"), self.request, self.response];
- [self.lock unlock];
- return description;
-}
-
-#pragma mark - NSURLConnectionDelegate
-
-- (void)connection:(NSURLConnection *)connection
-willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
-{
- if (self.authenticationChallenge) {
- self.authenticationChallenge(connection, challenge);
- return;
- }
-
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
- } else {
- [[challenge sender] cancelAuthenticationChallenge:challenge];
- }
- } else {
- if ([challenge previousFailureCount] == 0) {
- if (self.credential) {
- [[challenge sender] useCredential:self.credential forAuthenticationChallenge:challenge];
- } else {
- [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];
- }
- } else {
- [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge];
- }
- }
-}
-
-- (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection __unused *)connection {
- return self.shouldUseCredentialStorage;
-}
-
-- (NSURLRequest *)connection:(NSURLConnection *)connection
- willSendRequest:(NSURLRequest *)request
- redirectResponse:(NSURLResponse *)redirectResponse
-{
- if (self.redirectResponse) {
- return self.redirectResponse(connection, request, redirectResponse);
- } else {
- return request;
- }
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didSendBodyData:(NSInteger)bytesWritten
- totalBytesWritten:(NSInteger)totalBytesWritten
-totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
-{
- dispatch_async(dispatch_get_main_queue(), ^{
- if (self.uploadProgress) {
- self.uploadProgress((NSUInteger)bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
- });
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
-didReceiveResponse:(NSURLResponse *)response
-{
- self.response = response;
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didReceiveData:(NSData *)data
-{
- NSUInteger length = [data length];
- while (YES) {
- NSInteger totalNumberOfBytesWritten = 0;
- if ([self.outputStream hasSpaceAvailable]) {
- const uint8_t *dataBuffer = (uint8_t *)[data bytes];
-
- NSInteger numberOfBytesWritten = 0;
- while (totalNumberOfBytesWritten < (NSInteger)length) {
- numberOfBytesWritten = [self.outputStream write:&dataBuffer[(NSUInteger)totalNumberOfBytesWritten] maxLength:(length - (NSUInteger)totalNumberOfBytesWritten)];
- if (numberOfBytesWritten == -1) {
- break;
- }
-
- totalNumberOfBytesWritten += numberOfBytesWritten;
- }
-
- break;
- }
-
- if (self.outputStream.streamError) {
- [self.connection cancel];
- [self performSelector:@selector(connection:didFailWithError:) withObject:self.connection withObject:self.outputStream.streamError];
- return;
- }
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- self.totalBytesRead += (long long)length;
-
- if (self.downloadProgress) {
- self.downloadProgress(length, self.totalBytesRead, self.response.expectedContentLength);
- }
- });
-}
-
-- (void)connectionDidFinishLoading:(NSURLConnection __unused *)connection {
- self.responseData = [self.outputStream propertyForKey:NSStreamDataWrittenToMemoryStreamKey];
-
- [self.outputStream close];
- if (self.responseData) {
- self.outputStream = nil;
- }
-
- self.connection = nil;
-
- [self finish];
-}
-
-- (void)connection:(NSURLConnection __unused *)connection
- didFailWithError:(NSError *)error
-{
- self.error = error;
-
- [self.outputStream close];
- if (self.responseData) {
- self.outputStream = nil;
- }
-
- self.connection = nil;
-
- [self finish];
-}
-
-- (NSCachedURLResponse *)connection:(NSURLConnection *)connection
- willCacheResponse:(NSCachedURLResponse *)cachedResponse
-{
- if (self.cacheResponse) {
- return self.cacheResponse(connection, cachedResponse);
- } else {
- if ([self isCancelled]) {
- return nil;
- }
-
- return cachedResponse;
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURLRequest *request = [decoder decodeObjectOfClass:[NSURLRequest class] forKey:NSStringFromSelector(@selector(request))];
-
- self = [self initWithRequest:request];
- if (!self) {
- return nil;
- }
-
- self.state = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(state))] integerValue];
- self.response = [decoder decodeObjectOfClass:[NSHTTPURLResponse class] forKey:NSStringFromSelector(@selector(response))];
- self.error = [decoder decodeObjectOfClass:[NSError class] forKey:NSStringFromSelector(@selector(error))];
- self.responseData = [decoder decodeObjectOfClass:[NSData class] forKey:NSStringFromSelector(@selector(responseData))];
- self.totalBytesRead = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(totalBytesRead))] longLongValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [self pause];
-
- [coder encodeObject:self.request forKey:NSStringFromSelector(@selector(request))];
-
- switch (self.state) {
- case AFOperationExecutingState:
- case AFOperationPausedState:
- [coder encodeInteger:AFOperationReadyState forKey:NSStringFromSelector(@selector(state))];
- break;
- default:
- [coder encodeInteger:self.state forKey:NSStringFromSelector(@selector(state))];
- break;
- }
-
- [coder encodeObject:self.response forKey:NSStringFromSelector(@selector(response))];
- [coder encodeObject:self.error forKey:NSStringFromSelector(@selector(error))];
- [coder encodeObject:self.responseData forKey:NSStringFromSelector(@selector(responseData))];
- [coder encodeInt64:self.totalBytesRead forKey:NSStringFromSelector(@selector(totalBytesRead))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFURLConnectionOperation *operation = [(AFURLConnectionOperation *)[[self class] allocWithZone:zone] initWithRequest:self.request];
-
- operation.uploadProgress = self.uploadProgress;
- operation.downloadProgress = self.downloadProgress;
- operation.authenticationChallenge = self.authenticationChallenge;
- operation.cacheResponse = self.cacheResponse;
- operation.redirectResponse = self.redirectResponse;
- operation.completionQueue = self.completionQueue;
- operation.completionGroup = self.completionGroup;
-
- return operation;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h
deleted file mode 100644
index aed4549815..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1,463 +0,0 @@
-// AFSerialization.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#endif
-
-/**
- The `AFURLRequestSerialization` protocol is adopted by an object that encodes parameters for a specified HTTP requests. Request serializers may encode parameters as query strings, HTTP bodies, setting the appropriate HTTP header fields as necessary.
-
- For example, a JSON request serializer may set the HTTP body of the request to a JSON representation, and set the `Content-Type` HTTP header field value to `application/json`.
- */
-@protocol AFURLRequestSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- Returns a request with the specified parameters encoded into a copy of the original request.
-
- @param request The original request.
- @param parameters The parameters to be encoded.
- @param error The error that occurred while attempting to encode the request parameters.
-
- @return A serialized request.
- */
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError * __autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-/**
-
- */
-typedef NS_ENUM(NSUInteger, AFHTTPRequestQueryStringSerializationStyle) {
- AFHTTPRequestQueryStringDefaultStyle = 0,
-};
-
-@protocol AFMultipartFormData;
-
-/**
- `AFHTTPRequestSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPRequestSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPRequestSerializer : NSObject <AFURLRequestSerialization>
-
-/**
- The string encoding used to serialize parameters. `NSUTF8StringEncoding` by default.
- */
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-
-/**
- Whether created requests can use the device’s cellular radio (if present). `YES` by default.
-
- @see NSMutableURLRequest -setAllowsCellularAccess:
- */
-@property (nonatomic, assign) BOOL allowsCellularAccess;
-
-/**
- The cache policy of created requests. `NSURLRequestUseProtocolCachePolicy` by default.
-
- @see NSMutableURLRequest -setCachePolicy:
- */
-@property (nonatomic, assign) NSURLRequestCachePolicy cachePolicy;
-
-/**
- Whether created requests should use the default cookie handling. `YES` by default.
-
- @see NSMutableURLRequest -setHTTPShouldHandleCookies:
- */
-@property (nonatomic, assign) BOOL HTTPShouldHandleCookies;
-
-/**
- Whether created requests can continue transmitting data before receiving a response from an earlier transmission. `NO` by default
-
- @see NSMutableURLRequest -setHTTPShouldUsePipelining:
- */
-@property (nonatomic, assign) BOOL HTTPShouldUsePipelining;
-
-/**
- The network service type for created requests. `NSURLNetworkServiceTypeDefault` by default.
-
- @see NSMutableURLRequest -setNetworkServiceType:
- */
-@property (nonatomic, assign) NSURLRequestNetworkServiceType networkServiceType;
-
-/**
- The timeout interval, in seconds, for created requests. The default timeout interval is 60 seconds.
-
- @see NSMutableURLRequest -setTimeoutInterval:
- */
-@property (nonatomic, assign) NSTimeInterval timeoutInterval;
-
-///---------------------------------------
-/// @name Configuring HTTP Request Headers
-///---------------------------------------
-
-/**
- Default HTTP header field values to be applied to serialized requests.
- */
-@property (readonly, nonatomic, strong) NSDictionary *HTTPRequestHeaders;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-/**
- Sets the value for the HTTP headers set in request objects made by the HTTP client. If `nil`, removes the existing value for that header.
-
- @param field The HTTP header to set a default value for
- @param value The value set as default for the specified header, or `nil`
- */
-- (void)setValue:(NSString *)value
-forHTTPHeaderField:(NSString *)field;
-
-/**
- Returns the value for the HTTP headers set in the request serializer.
-
- @param field The HTTP header to retrieve the default value for
-
- @return The value set as default for the specified header, or `nil`
- */
-- (NSString *)valueForHTTPHeaderField:(NSString *)field;
-
-/**
- Sets the "Authorization" HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
-
- @param username The HTTP basic auth username
- @param password The HTTP basic auth password
- */
-- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
- password:(NSString *)password;
-
-/**
- @deprecated This method has been deprecated. Use -setValue:forHTTPHeaderField: instead.
- */
-- (void)setAuthorizationHeaderFieldWithToken:(NSString *)token DEPRECATED_ATTRIBUTE;
-
-
-/**
- Clears any existing value for the "Authorization" HTTP header.
- */
-- (void)clearAuthorizationHeader;
-
-///-------------------------------------------------------
-/// @name Configuring Query String Parameter Serialization
-///-------------------------------------------------------
-
-/**
- HTTP methods for which serialized requests will encode parameters as a query string. `GET`, `HEAD`, and `DELETE` by default.
- */
-@property (nonatomic, strong) NSSet *HTTPMethodsEncodingParametersInURI;
-
-/**
- Set the method of query string serialization according to one of the pre-defined styles.
-
- @param style The serialization style.
-
- @see AFHTTPRequestQueryStringSerializationStyle
- */
-- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style;
-
-/**
- Set the a custom method of query string serialization according to the specified block.
-
- @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request.
- */
-- (void)setQueryStringSerializationWithBlock:(NSString * (^)(NSURLRequest *request, NSDictionary *parameters, NSError * __autoreleasing *error))block;
-
-///-------------------------------
-/// @name Creating Request Objects
-///-------------------------------
-
-/**
- @deprecated This method has been deprecated. Use -requestWithMethod:URLString:parameters:error: instead.
- */
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters DEPRECATED_ATTRIBUTE;
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URL string.
-
- If the HTTP method is `GET`, `HEAD`, or `DELETE`, the parameters will be used to construct a url-encoded query string that is appended to the request's URL. Otherwise, the parameters will be encoded according to the value of the `parameterEncoding` property, and set as the request body.
-
- @param method The HTTP method for the request, such as `GET`, `POST`, `PUT`, or `DELETE`. This parameter must not be `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be either set as a query string for `GET` requests, or the request HTTP body.
- @param error The error that occured while constructing the request.
-
- @return An `NSMutableURLRequest` object.
- */
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- error:(NSError * __autoreleasing *)error;
-
-/**
- @deprecated This method has been deprecated. Use -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error: instead.
- */
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block DEPRECATED_ATTRIBUTE;
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2
-
- Multipart form requests are automatically streamed, reading files directly from disk along with in-memory data in a single HTTP body. The resulting `NSMutableURLRequest` object has an `HTTPBodyStream` property, so refrain from setting `HTTPBodyStream` or `HTTPBody` on this request object, as it will clear out the multipart form body stream.
-
- @param method The HTTP method for the request. This parameter must not be `GET` or `HEAD`, or `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded and set in the request HTTP body.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param error The error that occured while constructing the request.
-
- @return An `NSMutableURLRequest` object
- */
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- error:(NSError * __autoreleasing *)error;
-
-/**
- Creates an `NSMutableURLRequest` by removing the `HTTPBodyStream` from a request, and asynchronously writing its contents into the specified file, invoking the completion handler when finished.
-
- @param request The multipart form request.
- @param fileURL The file URL to write multipart form contents to.
- @param handler A handler block to execute.
-
- @discussion There is a bug in `NSURLSessionTask` that causes requests to not send a `Content-Length` header when streaming contents from an HTTP body, which is notably problematic when interacting with the Amazon S3 webservice. As a workaround, this method takes a request constructed with `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:`, or any other request with an `HTTPBodyStream`, writes the contents to the specified file and returns a copy of the original request with the `HTTPBodyStream` property set to `nil`. From here, the file can either be passed to `AFURLSessionManager -uploadTaskWithRequest:fromFile:progress:completionHandler:`, or have its contents read into an `NSData` that's assigned to the `HTTPBody` property of the request.
-
- @see https://github.com/AFNetworking/AFNetworking/issues/1398
- */
-- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
- writingStreamContentsToFile:(NSURL *)fileURL
- completionHandler:(void (^)(NSError *error))handler;
-
-@end
-
-#pragma mark -
-
-/**
- The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPRequestSerializer -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:`.
- */
-@protocol AFMultipartFormData
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{generated filename}; name=#{name}"` and `Content-Type: #{generated mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended, otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- error:(NSError * __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The file name to be used in the `Content-Disposition` header. This parameter must not be `nil`.
- @param mimeType The declared MIME type of the file data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
- error:(NSError * __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the data from the input stream and the multipart form boundary.
-
- @param inputStream The input stream to be appended to the form data
- @param name The name to be associated with the specified input stream. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified input stream. This parameter must not be `nil`.
- @param length The length of the specified input stream in bytes.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithInputStream:(NSInputStream *)inputStream
- name:(NSString *)name
- fileName:(NSString *)fileName
- length:(int64_t)length
- mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified data. This parameter must not be `nil`.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithFileData:(NSData *)data
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP headers `Content-Disposition: form-data; name=#{name}"`, followed by the encoded data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- */
-
-- (void)appendPartWithFormData:(NSData *)data
- name:(NSString *)name;
-
-
-/**
- Appends HTTP headers, followed by the encoded data and the multipart form boundary.
-
- @param headers The HTTP headers to be appended to the form data.
- @param body The data to be encoded and appended to the form data. This parameter must not be `nil`.
- */
-- (void)appendPartWithHeaders:(NSDictionary *)headers
- body:(NSData *)body;
-
-/**
- Throttles request bandwidth by limiting the packet size and adding a delay for each chunk read from the upload stream.
-
- When uploading over a 3G or EDGE connection, requests may fail with "request body stream exhausted". Setting a maximum packet size and delay according to the recommended values (`kAFUploadStream3GSuggestedPacketSize` and `kAFUploadStream3GSuggestedDelay`) lowers the risk of the input stream exceeding its allocated bandwidth. Unfortunately, there is no definite way to distinguish between a 3G, EDGE, or LTE connection over `NSURLConnection`. As such, it is not recommended that you throttle bandwidth based solely on network reachability. Instead, you should consider checking for the "request body stream exhausted" in a failure block, and then retrying the request with throttled bandwidth.
-
- @param numberOfBytes Maximum packet size, in number of bytes. The default packet size for an input stream is 16kb.
- @param delay Duration of delay each time a packet is read. By default, no delay is set.
- */
-- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
- delay:(NSTimeInterval)delay;
-
-@end
-
-#pragma mark -
-
-/**
- `AFJSONRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSJSONSerialization`, setting the `Content-Type` of the encoded request to `application/json`.
- */
-@interface AFJSONRequestSerializer : AFHTTPRequestSerializer
-
-/**
- Options for writing the request JSON data from Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONWritingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONWritingOptions writingOptions;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param writingOptions The specified JSON writing options.
- */
-+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFPropertyListRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSPropertyListSerializer`, setting the `Content-Type` of the encoded request to `application/x-plist`.
- */
-@interface AFPropertyListRequestSerializer : AFHTTPRequestSerializer
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- @warning The `writeOptions` property is currently unused.
- */
-@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param writeOptions The property list write options.
-
- @warning The `writeOptions` property is currently unused.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- writeOptions:(NSPropertyListWriteOptions)writeOptions;
-
-@end
-
-#pragma mark -
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLRequestSerializationErrorDomain`
-
- ### Constants
-
- `AFURLRequestSerializationErrorDomain`
- AFURLRequestSerializer errors. Error codes for `AFURLRequestSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-extern NSString * const AFURLRequestSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLRequestErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLRequestErrorKey`
- The corresponding value is an `NSURLRequest` containing the request of the operation associated with an error. This key is only present in the `AFURLRequestSerializationErrorDomain`.
- */
-extern NSString * const AFNetworkingOperationFailingURLRequestErrorKey;
-
-/**
- ## Throttling Bandwidth for HTTP Request Input Streams
-
- @see -throttleBandwidthWithPacketSize:delay:
-
- ### Constants
-
- `kAFUploadStream3GSuggestedPacketSize`
- Maximum packet size, in number of bytes. Equal to 16kb.
-
- `kAFUploadStream3GSuggestedDelay`
- Duration of delay each time a packet is read. Equal to 0.2 seconds.
- */
-extern NSUInteger const kAFUploadStream3GSuggestedPacketSize;
-extern NSTimeInterval const kAFUploadStream3GSuggestedDelay;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m
deleted file mode 100644
index a56e8542e1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLRequestSerialization.m
+++ /dev/null
@@ -1,1339 +0,0 @@
-// AFSerialization.h
-//
-// 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.
-
-#import "AFURLRequestSerialization.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED
-#import <MobileCoreServices/MobileCoreServices.h>
-#else
-#import <CoreServices/CoreServices.h>
-#endif
-
-NSString * const AFURLRequestSerializationErrorDomain = @"com.alamofire.error.serialization.request";
-NSString * const AFNetworkingOperationFailingURLRequestErrorKey = @"com.alamofire.serialization.request.error.response";
-
-typedef NSString * (^AFQueryStringSerializationBlock)(NSURLRequest *request, NSDictionary *parameters, NSError *__autoreleasing *error);
-
-static NSString * AFBase64EncodedStringFromString(NSString *string) {
- NSData *data = [NSData dataWithBytes:[string UTF8String] length:[string lengthOfBytesUsingEncoding:NSUTF8StringEncoding]];
- NSUInteger length = [data length];
- NSMutableData *mutableData = [NSMutableData dataWithLength:((length + 2) / 3) * 4];
-
- uint8_t *input = (uint8_t *)[data bytes];
- uint8_t *output = (uint8_t *)[mutableData mutableBytes];
-
- for (NSUInteger i = 0; i < length; i += 3) {
- NSUInteger value = 0;
- for (NSUInteger j = i; j < (i + 3); j++) {
- value <<= 8;
- if (j < length) {
- value |= (0xFF & input[j]);
- }
- }
-
- static uint8_t const kAFBase64EncodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-
- NSUInteger idx = (i / 3) * 4;
- output[idx + 0] = kAFBase64EncodingTable[(value >> 18) & 0x3F];
- output[idx + 1] = kAFBase64EncodingTable[(value >> 12) & 0x3F];
- output[idx + 2] = (i + 1) < length ? kAFBase64EncodingTable[(value >> 6) & 0x3F] : '=';
- output[idx + 3] = (i + 2) < length ? kAFBase64EncodingTable[(value >> 0) & 0x3F] : '=';
- }
-
- return [[NSString alloc] initWithData:mutableData encoding:NSASCIIStringEncoding];
-}
-
-static NSString * const kAFCharactersToBeEscapedInQueryString = @":/?&=;+!@#$()',*";
-
-static NSString * AFPercentEscapedQueryStringKeyFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
- static NSString * const kAFCharactersToLeaveUnescapedInQueryStringPairKey = @"[].";
-
- return (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (__bridge CFStringRef)string, (__bridge CFStringRef)kAFCharactersToLeaveUnescapedInQueryStringPairKey, (__bridge CFStringRef)kAFCharactersToBeEscapedInQueryString, CFStringConvertNSStringEncodingToEncoding(encoding));
-}
-
-static NSString * AFPercentEscapedQueryStringValueFromStringWithEncoding(NSString *string, NSStringEncoding encoding) {
- return (__bridge_transfer NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (__bridge CFStringRef)string, NULL, (__bridge CFStringRef)kAFCharactersToBeEscapedInQueryString, CFStringConvertNSStringEncodingToEncoding(encoding));
-}
-
-#pragma mark -
-
-@interface AFQueryStringPair : NSObject
-@property (readwrite, nonatomic, strong) id field;
-@property (readwrite, nonatomic, strong) id value;
-
-- (id)initWithField:(id)field value:(id)value;
-
-- (NSString *)URLEncodedStringValueWithEncoding:(NSStringEncoding)stringEncoding;
-@end
-
-@implementation AFQueryStringPair
-
-- (id)initWithField:(id)field value:(id)value {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.field = field;
- self.value = value;
-
- return self;
-}
-
-- (NSString *)URLEncodedStringValueWithEncoding:(NSStringEncoding)stringEncoding {
- if (!self.value || [self.value isEqual:[NSNull null]]) {
- return AFPercentEscapedQueryStringKeyFromStringWithEncoding([self.field description], stringEncoding);
- } else {
- return [NSString stringWithFormat:@"%@=%@", AFPercentEscapedQueryStringKeyFromStringWithEncoding([self.field description], stringEncoding), AFPercentEscapedQueryStringValueFromStringWithEncoding([self.value description], stringEncoding)];
- }
-}
-
-@end
-
-#pragma mark -
-
-extern NSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary);
-extern NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value);
-
-static NSString * AFQueryStringFromParametersWithEncoding(NSDictionary *parameters, NSStringEncoding stringEncoding) {
- NSMutableArray *mutablePairs = [NSMutableArray array];
- for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {
- [mutablePairs addObject:[pair URLEncodedStringValueWithEncoding:stringEncoding]];
- }
-
- return [mutablePairs componentsJoinedByString:@"&"];
-}
-
-NSArray * AFQueryStringPairsFromDictionary(NSDictionary *dictionary) {
- return AFQueryStringPairsFromKeyAndValue(nil, dictionary);
-}
-
-NSArray * AFQueryStringPairsFromKeyAndValue(NSString *key, id value) {
- NSMutableArray *mutableQueryStringComponents = [NSMutableArray array];
-
- NSSortDescriptor *sortDescriptor = [NSSortDescriptor sortDescriptorWithKey:@"description" ascending:YES selector:@selector(compare:)];
-
- if ([value isKindOfClass:[NSDictionary class]]) {
- NSDictionary *dictionary = value;
- // Sort dictionary keys to ensure consistent ordering in query string, which is important when deserializing potentially ambiguous sequences, such as an array of dictionaries
- for (id nestedKey in [dictionary.allKeys sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {
- id nestedValue = [dictionary objectForKey:nestedKey];
- if (nestedValue) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue((key ? [NSString stringWithFormat:@"%@[%@]", key, nestedKey] : nestedKey), nestedValue)];
- }
- }
- } else if ([value isKindOfClass:[NSArray class]]) {
- NSArray *array = value;
- for (id nestedValue in array) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue([NSString stringWithFormat:@"%@[]", key], nestedValue)];
- }
- } else if ([value isKindOfClass:[NSSet class]]) {
- NSSet *set = value;
- for (id obj in [set sortedArrayUsingDescriptors:@[ sortDescriptor ]]) {
- [mutableQueryStringComponents addObjectsFromArray:AFQueryStringPairsFromKeyAndValue(key, obj)];
- }
- } else {
- [mutableQueryStringComponents addObject:[[AFQueryStringPair alloc] initWithField:key value:value]];
- }
-
- return mutableQueryStringComponents;
-}
-
-#pragma mark -
-
-@interface AFStreamingMultipartFormData : NSObject <AFMultipartFormData>
-- (instancetype)initWithURLRequest:(NSMutableURLRequest *)urlRequest
- stringEncoding:(NSStringEncoding)encoding;
-
-- (NSMutableURLRequest *)requestByFinalizingMultipartFormData;
-@end
-
-#pragma mark -
-
-static NSArray * AFHTTPRequestSerializerObservedKeyPaths() {
- static NSArray *_AFHTTPRequestSerializerObservedKeyPaths = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _AFHTTPRequestSerializerObservedKeyPaths = @[NSStringFromSelector(@selector(allowsCellularAccess)), NSStringFromSelector(@selector(cachePolicy)), NSStringFromSelector(@selector(HTTPShouldHandleCookies)), NSStringFromSelector(@selector(HTTPShouldUsePipelining)), NSStringFromSelector(@selector(networkServiceType)), NSStringFromSelector(@selector(timeoutInterval))];
- });
-
- return _AFHTTPRequestSerializerObservedKeyPaths;
-}
-
-static void *AFHTTPRequestSerializerObserverContext = &AFHTTPRequestSerializerObserverContext;
-
-@interface AFHTTPRequestSerializer ()
-@property (readwrite, nonatomic, strong) NSMutableSet *mutableObservedChangedKeyPaths;
-@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableHTTPRequestHeaders;
-@property (readwrite, nonatomic, assign) AFHTTPRequestQueryStringSerializationStyle queryStringSerializationStyle;
-@property (readwrite, nonatomic, copy) AFQueryStringSerializationBlock queryStringSerialization;
-@end
-
-@implementation AFHTTPRequestSerializer
-
-+ (instancetype)serializer {
- return [[self alloc] init];
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = NSUTF8StringEncoding;
-
- self.mutableHTTPRequestHeaders = [NSMutableDictionary dictionary];
-
- // Accept-Language HTTP Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
- NSMutableArray *acceptLanguagesComponents = [NSMutableArray array];
- [[NSLocale preferredLanguages] enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
- float q = 1.0f - (idx * 0.1f);
- [acceptLanguagesComponents addObject:[NSString stringWithFormat:@"%@;q=%0.1g", obj, q]];
- *stop = q <= 0.5f;
- }];
- [self setValue:[acceptLanguagesComponents componentsJoinedByString:@", "] forHTTPHeaderField:@"Accept-Language"];
-
- NSString *userAgent = nil;
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- // User-Agent Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43
- userAgent = [NSString stringWithFormat:@"%@/%@ (%@; iOS %@; Scale/%0.2f)", [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleExecutableKey] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleIdentifierKey], [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleVersionKey], [[UIDevice currentDevice] model], [[UIDevice currentDevice] systemVersion], [[UIScreen mainScreen] scale]];
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
- userAgent = [NSString stringWithFormat:@"%@/%@ (Mac OS X %@)", [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleExecutableKey] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleIdentifierKey], [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] ?: [[[NSBundle mainBundle] infoDictionary] objectForKey:(__bridge NSString *)kCFBundleVersionKey], [[NSProcessInfo processInfo] operatingSystemVersionString]];
-#endif
-#pragma clang diagnostic pop
- if (userAgent) {
- if (![userAgent canBeConvertedToEncoding:NSASCIIStringEncoding]) {
- NSMutableString *mutableUserAgent = [userAgent mutableCopy];
- if (CFStringTransform((__bridge CFMutableStringRef)(mutableUserAgent), NULL, (__bridge CFStringRef)@"Any-Latin; Latin-ASCII; [:^ASCII:] Remove", false)) {
- userAgent = mutableUserAgent;
- }
- }
- [self setValue:userAgent forHTTPHeaderField:@"User-Agent"];
- }
-
- // HTTP Method Definitions; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
- self.HTTPMethodsEncodingParametersInURI = [NSSet setWithObjects:@"GET", @"HEAD", @"DELETE", nil];
-
- self.mutableObservedChangedKeyPaths = [NSMutableSet set];
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {
- [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:AFHTTPRequestSerializerObserverContext];
- }
- }
-
- return self;
-}
-
-- (void)dealloc {
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self respondsToSelector:NSSelectorFromString(keyPath)]) {
- [self removeObserver:self forKeyPath:keyPath context:AFHTTPRequestSerializerObserverContext];
- }
- }
-}
-
-#pragma mark -
-
-- (NSDictionary *)HTTPRequestHeaders {
- return [NSDictionary dictionaryWithDictionary:self.mutableHTTPRequestHeaders];
-}
-
-- (void)setValue:(NSString *)value
-forHTTPHeaderField:(NSString *)field
-{
- [self.mutableHTTPRequestHeaders setValue:value forKey:field];
-}
-
-- (NSString *)valueForHTTPHeaderField:(NSString *)field {
- return [self.mutableHTTPRequestHeaders valueForKey:field];
-}
-
-- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
- password:(NSString *)password
-{
- NSString *basicAuthCredentials = [NSString stringWithFormat:@"%@:%@", username, password];
- [self setValue:[NSString stringWithFormat:@"Basic %@", AFBase64EncodedStringFromString(basicAuthCredentials)] forHTTPHeaderField:@"Authorization"];
-}
-
-- (void)setAuthorizationHeaderFieldWithToken:(NSString *)token {
- [self setValue:[NSString stringWithFormat:@"Token token=\"%@\"", token] forHTTPHeaderField:@"Authorization"];
-}
-
-- (void)clearAuthorizationHeader {
- [self.mutableHTTPRequestHeaders removeObjectForKey:@"Authorization"];
-}
-
-#pragma mark -
-
-- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style {
- self.queryStringSerializationStyle = style;
- self.queryStringSerialization = nil;
-}
-
-- (void)setQueryStringSerializationWithBlock:(NSString *(^)(NSURLRequest *, NSDictionary *, NSError *__autoreleasing *))block {
- self.queryStringSerialization = block;
-}
-
-#pragma mark -
-
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
-{
- return [self requestWithMethod:method URLString:URLString parameters:parameters error:nil];
-}
-
-- (NSMutableURLRequest *)requestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(method);
- NSParameterAssert(URLString);
-
- NSURL *url = [NSURL URLWithString:URLString];
-
- NSParameterAssert(url);
-
- NSMutableURLRequest *mutableRequest = [[NSMutableURLRequest alloc] initWithURL:url];
- mutableRequest.HTTPMethod = method;
-
- for (NSString *keyPath in AFHTTPRequestSerializerObservedKeyPaths()) {
- if ([self.mutableObservedChangedKeyPaths containsObject:keyPath]) {
- [mutableRequest setValue:[self valueForKeyPath:keyPath] forKey:keyPath];
- }
- }
-
- mutableRequest = [[self requestBySerializingRequest:mutableRequest withParameters:parameters error:error] mutableCopy];
-
- return mutableRequest;
-}
-
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
-{
- return [self multipartFormRequestWithMethod:method URLString:URLString parameters:parameters constructingBodyWithBlock:block error:nil];
-}
-
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
- URLString:(NSString *)URLString
- parameters:(NSDictionary *)parameters
- constructingBodyWithBlock:(void (^)(id <AFMultipartFormData> formData))block
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(method);
- NSParameterAssert(![method isEqualToString:@"GET"] && ![method isEqualToString:@"HEAD"]);
-
- NSMutableURLRequest *mutableRequest = [self requestWithMethod:method URLString:URLString parameters:nil error:error];
-
- __block AFStreamingMultipartFormData *formData = [[AFStreamingMultipartFormData alloc] initWithURLRequest:mutableRequest stringEncoding:NSUTF8StringEncoding];
-
- if (parameters) {
- for (AFQueryStringPair *pair in AFQueryStringPairsFromDictionary(parameters)) {
- NSData *data = nil;
- if ([pair.value isKindOfClass:[NSData class]]) {
- data = pair.value;
- } else if ([pair.value isEqual:[NSNull null]]) {
- data = [NSData data];
- } else {
- data = [[pair.value description] dataUsingEncoding:self.stringEncoding];
- }
-
- if (data) {
- [formData appendPartWithFormData:data name:[pair.field description]];
- }
- }
- }
-
- if (block) {
- block(formData);
- }
-
- return [formData requestByFinalizingMultipartFormData];
-}
-
-- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
- writingStreamContentsToFile:(NSURL *)fileURL
- completionHandler:(void (^)(NSError *error))handler
-{
- if (!request.HTTPBodyStream) {
- return [request mutableCopy];
- }
-
- NSParameterAssert([fileURL isFileURL]);
-
- NSInputStream *inputStream = request.HTTPBodyStream;
- NSOutputStream *outputStream = [[NSOutputStream alloc] initWithURL:fileURL append:NO];
- __block NSError *error = nil;
-
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
- [inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
- [outputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
-
- [inputStream open];
- [outputStream open];
-
- while ([inputStream hasBytesAvailable] && [outputStream hasSpaceAvailable]) {
- uint8_t buffer[1024];
-
- NSInteger bytesRead = [inputStream read:buffer maxLength:1024];
- if (inputStream.streamError || bytesRead < 0) {
- error = inputStream.streamError;
- break;
- }
-
- NSInteger bytesWritten = [outputStream write:buffer maxLength:(NSUInteger)bytesRead];
- if (outputStream.streamError || bytesWritten < 0) {
- error = outputStream.streamError;
- break;
- }
-
- if (bytesRead == 0 && bytesWritten == 0) {
- break;
- }
- }
-
- [outputStream close];
- [inputStream close];
-
- if (handler) {
- dispatch_async(dispatch_get_main_queue(), ^{
- handler(error);
- });
- }
- });
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
- mutableRequest.HTTPBodyStream = nil;
-
- return mutableRequest;
-}
-
-#pragma mark - AFURLRequestSerialization
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- NSString *query = nil;
- if (self.queryStringSerialization) {
- NSError *serializationError;
- query = self.queryStringSerialization(request, parameters, &serializationError);
-
- if (serializationError) {
- if (error) {
- *error = serializationError;
- }
-
- return nil;
- }
- } else {
- switch (self.queryStringSerializationStyle) {
- case AFHTTPRequestQueryStringDefaultStyle:
- query = AFQueryStringFromParametersWithEncoding(parameters, self.stringEncoding);
- break;
- }
- }
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- mutableRequest.URL = [NSURL URLWithString:[[mutableRequest.URL absoluteString] stringByAppendingFormat:mutableRequest.URL.query ? @"&%@" : @"?%@", query]];
- } else {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
- }
- [mutableRequest setHTTPBody:[query dataUsingEncoding:self.stringEncoding]];
- }
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSKeyValueObserving
-
-- (void)observeValueForKeyPath:(NSString *)keyPath
- ofObject:(__unused id)object
- change:(NSDictionary *)change
- context:(void *)context
-{
- if (context == AFHTTPRequestSerializerObserverContext) {
- if ([change[NSKeyValueChangeNewKey] isEqual:[NSNull null]]) {
- [self.mutableObservedChangedKeyPaths removeObject:keyPath];
- } else {
- [self.mutableObservedChangedKeyPaths addObject:keyPath];
- }
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [self init];
- if (!self) {
- return nil;
- }
-
- self.mutableHTTPRequestHeaders = [[decoder decodeObjectOfClass:[NSDictionary class] forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))] mutableCopy];
- self.queryStringSerializationStyle = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.mutableHTTPRequestHeaders forKey:NSStringFromSelector(@selector(mutableHTTPRequestHeaders))];
- [coder encodeInteger:self.queryStringSerializationStyle forKey:NSStringFromSelector(@selector(queryStringSerializationStyle))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPRequestSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.mutableHTTPRequestHeaders = [self.mutableHTTPRequestHeaders mutableCopyWithZone:zone];
- serializer.queryStringSerializationStyle = self.queryStringSerializationStyle;
- serializer.queryStringSerialization = self.queryStringSerialization;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-static NSString * AFCreateMultipartFormBoundary() {
- return [NSString stringWithFormat:@"Boundary+%08X%08X", arc4random(), arc4random()];
-}
-
-static NSString * const kAFMultipartFormCRLF = @"\r\n";
-
-static inline NSString * AFMultipartFormInitialBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"--%@%@", boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFMultipartFormEncapsulationBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"%@--%@%@", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFMultipartFormFinalBoundary(NSString *boundary) {
- return [NSString stringWithFormat:@"%@--%@--%@", kAFMultipartFormCRLF, boundary, kAFMultipartFormCRLF];
-}
-
-static inline NSString * AFContentTypeForPathExtension(NSString *extension) {
-#ifdef __UTTYPE__
- NSString *UTI = (__bridge_transfer NSString *)UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, (__bridge CFStringRef)extension, NULL);
- NSString *contentType = (__bridge_transfer NSString *)UTTypeCopyPreferredTagWithClass((__bridge CFStringRef)UTI, kUTTagClassMIMEType);
- if (!contentType) {
- return @"application/octet-stream";
- } else {
- return contentType;
- }
-#else
-#pragma unused (extension)
- return @"application/octet-stream";
-#endif
-}
-
-NSUInteger const kAFUploadStream3GSuggestedPacketSize = 1024 * 16;
-NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2;
-
-@interface AFHTTPBodyPart : NSObject
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-@property (nonatomic, strong) NSDictionary *headers;
-@property (nonatomic, copy) NSString *boundary;
-@property (nonatomic, strong) id body;
-@property (nonatomic, assign) unsigned long long bodyContentLength;
-@property (nonatomic, strong) NSInputStream *inputStream;
-
-@property (nonatomic, assign) BOOL hasInitialBoundary;
-@property (nonatomic, assign) BOOL hasFinalBoundary;
-
-@property (readonly, nonatomic, assign, getter = hasBytesAvailable) BOOL bytesAvailable;
-@property (readonly, nonatomic, assign) unsigned long long contentLength;
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length;
-@end
-
-@interface AFMultipartBodyStream : NSInputStream <NSStreamDelegate>
-@property (nonatomic, assign) NSUInteger numberOfBytesInPacket;
-@property (nonatomic, assign) NSTimeInterval delay;
-@property (nonatomic, strong) NSInputStream *inputStream;
-@property (readonly, nonatomic, assign) unsigned long long contentLength;
-@property (readonly, nonatomic, assign, getter = isEmpty) BOOL empty;
-
-- (id)initWithStringEncoding:(NSStringEncoding)encoding;
-- (void)setInitialAndFinalBoundaries;
-- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart;
-@end
-
-#pragma mark -
-
-@interface AFStreamingMultipartFormData ()
-@property (readwrite, nonatomic, copy) NSMutableURLRequest *request;
-@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;
-@property (readwrite, nonatomic, copy) NSString *boundary;
-@property (readwrite, nonatomic, strong) AFMultipartBodyStream *bodyStream;
-@end
-
-@implementation AFStreamingMultipartFormData
-
-- (id)initWithURLRequest:(NSMutableURLRequest *)urlRequest
- stringEncoding:(NSStringEncoding)encoding
-{
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.request = urlRequest;
- self.stringEncoding = encoding;
- self.boundary = AFCreateMultipartFormBoundary();
- self.bodyStream = [[AFMultipartBodyStream alloc] initWithStringEncoding:encoding];
-
- return self;
-}
-
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- error:(NSError * __autoreleasing *)error
-{
- NSParameterAssert(fileURL);
- NSParameterAssert(name);
-
- NSString *fileName = [fileURL lastPathComponent];
- NSString *mimeType = AFContentTypeForPathExtension([fileURL pathExtension]);
-
- return [self appendPartWithFileURL:fileURL name:name fileName:fileName mimeType:mimeType error:error];
-}
-
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
- error:(NSError * __autoreleasing *)error
-{
- NSParameterAssert(fileURL);
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- if (![fileURL isFileURL]) {
- NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@"Expected URL to be a file URL", @"AFNetworking", nil)};
- if (error) {
- *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];
- }
-
- return NO;
- } else if ([fileURL checkResourceIsReachableAndReturnError:error] == NO) {
- NSDictionary *userInfo = @{NSLocalizedFailureReasonErrorKey: NSLocalizedStringFromTable(@"File URL not reachable.", @"AFNetworking", nil)};
- if (error) {
- *error = [[NSError alloc] initWithDomain:AFURLRequestSerializationErrorDomain code:NSURLErrorBadURL userInfo:userInfo];
- }
-
- return NO;
- }
-
- NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:[fileURL path] error:error];
- if (!fileAttributes) {
- return NO;
- }
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = mutableHeaders;
- bodyPart.boundary = self.boundary;
- bodyPart.body = fileURL;
- bodyPart.bodyContentLength = [[fileAttributes objectForKey:NSFileSize] unsignedLongLongValue];
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-
- return YES;
-}
-
-- (void)appendPartWithInputStream:(NSInputStream *)inputStream
- name:(NSString *)name
- fileName:(NSString *)fileName
- length:(int64_t)length
- mimeType:(NSString *)mimeType
-{
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = mutableHeaders;
- bodyPart.boundary = self.boundary;
- bodyPart.body = inputStream;
-
- bodyPart.bodyContentLength = (unsigned long long)length;
-
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-}
-
-- (void)appendPartWithFileData:(NSData *)data
- name:(NSString *)name
- fileName:(NSString *)fileName
- mimeType:(NSString *)mimeType
-{
- NSParameterAssert(name);
- NSParameterAssert(fileName);
- NSParameterAssert(mimeType);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"; filename=\"%@\"", name, fileName] forKey:@"Content-Disposition"];
- [mutableHeaders setValue:mimeType forKey:@"Content-Type"];
-
- [self appendPartWithHeaders:mutableHeaders body:data];
-}
-
-- (void)appendPartWithFormData:(NSData *)data
- name:(NSString *)name
-{
- NSParameterAssert(name);
-
- NSMutableDictionary *mutableHeaders = [NSMutableDictionary dictionary];
- [mutableHeaders setValue:[NSString stringWithFormat:@"form-data; name=\"%@\"", name] forKey:@"Content-Disposition"];
-
- [self appendPartWithHeaders:mutableHeaders body:data];
-}
-
-- (void)appendPartWithHeaders:(NSDictionary *)headers
- body:(NSData *)body
-{
- NSParameterAssert(body);
-
- AFHTTPBodyPart *bodyPart = [[AFHTTPBodyPart alloc] init];
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = headers;
- bodyPart.boundary = self.boundary;
- bodyPart.bodyContentLength = [body length];
- bodyPart.body = body;
-
- [self.bodyStream appendHTTPBodyPart:bodyPart];
-}
-
-- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
- delay:(NSTimeInterval)delay
-{
- self.bodyStream.numberOfBytesInPacket = numberOfBytes;
- self.bodyStream.delay = delay;
-}
-
-- (NSMutableURLRequest *)requestByFinalizingMultipartFormData {
- if ([self.bodyStream isEmpty]) {
- return self.request;
- }
-
- // Reset the initial and final boundaries to ensure correct Content-Length
- [self.bodyStream setInitialAndFinalBoundaries];
- [self.request setHTTPBodyStream:self.bodyStream];
-
- [self.request setValue:[NSString stringWithFormat:@"multipart/form-data; boundary=%@", self.boundary] forHTTPHeaderField:@"Content-Type"];
- [self.request setValue:[NSString stringWithFormat:@"%llu", [self.bodyStream contentLength]] forHTTPHeaderField:@"Content-Length"];
-
- return self.request;
-}
-
-@end
-
-#pragma mark -
-
-@interface NSStream ()
-@property (readwrite) NSStreamStatus streamStatus;
-@property (readwrite, copy) NSError *streamError;
-@end
-
-@interface AFMultipartBodyStream () <NSCopying>
-@property (readwrite, nonatomic, assign) NSStringEncoding stringEncoding;
-@property (readwrite, nonatomic, strong) NSMutableArray *HTTPBodyParts;
-@property (readwrite, nonatomic, strong) NSEnumerator *HTTPBodyPartEnumerator;
-@property (readwrite, nonatomic, strong) AFHTTPBodyPart *currentHTTPBodyPart;
-@property (readwrite, nonatomic, strong) NSOutputStream *outputStream;
-@property (readwrite, nonatomic, strong) NSMutableData *buffer;
-@end
-
-@implementation AFMultipartBodyStream
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wimplicit-atomic-properties"
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1100)
-@synthesize delegate;
-#endif
-@synthesize streamStatus;
-@synthesize streamError;
-#pragma clang diagnostic pop
-
-- (id)initWithStringEncoding:(NSStringEncoding)encoding {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = encoding;
- self.HTTPBodyParts = [NSMutableArray array];
- self.numberOfBytesInPacket = NSIntegerMax;
-
- return self;
-}
-
-- (void)setInitialAndFinalBoundaries {
- if ([self.HTTPBodyParts count] > 0) {
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- bodyPart.hasInitialBoundary = NO;
- bodyPart.hasFinalBoundary = NO;
- }
-
- [[self.HTTPBodyParts objectAtIndex:0] setHasInitialBoundary:YES];
- [[self.HTTPBodyParts lastObject] setHasFinalBoundary:YES];
- }
-}
-
-- (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart {
- [self.HTTPBodyParts addObject:bodyPart];
-}
-
-- (BOOL)isEmpty {
- return [self.HTTPBodyParts count] == 0;
-}
-
-#pragma mark - NSInputStream
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
- if ([self streamStatus] == NSStreamStatusClosed) {
- return 0;
- }
-
- NSInteger totalNumberOfBytesRead = 0;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- while ((NSUInteger)totalNumberOfBytesRead < MIN(length, self.numberOfBytesInPacket)) {
- if (!self.currentHTTPBodyPart || ![self.currentHTTPBodyPart hasBytesAvailable]) {
- if (!(self.currentHTTPBodyPart = [self.HTTPBodyPartEnumerator nextObject])) {
- break;
- }
- } else {
- NSUInteger maxLength = length - (NSUInteger)totalNumberOfBytesRead;
- NSInteger numberOfBytesRead = [self.currentHTTPBodyPart read:&buffer[totalNumberOfBytesRead] maxLength:maxLength];
- if (numberOfBytesRead == -1) {
- self.streamError = self.currentHTTPBodyPart.inputStream.streamError;
- break;
- } else {
- totalNumberOfBytesRead += numberOfBytesRead;
-
- if (self.delay > 0.0f) {
- [NSThread sleepForTimeInterval:self.delay];
- }
- }
- }
- }
-#pragma clang diagnostic pop
-
- return totalNumberOfBytesRead;
-}
-
-- (BOOL)getBuffer:(__unused uint8_t **)buffer
- length:(__unused NSUInteger *)len
-{
- return NO;
-}
-
-- (BOOL)hasBytesAvailable {
- return [self streamStatus] == NSStreamStatusOpen;
-}
-
-#pragma mark - NSStream
-
-- (void)open {
- if (self.streamStatus == NSStreamStatusOpen) {
- return;
- }
-
- self.streamStatus = NSStreamStatusOpen;
-
- [self setInitialAndFinalBoundaries];
- self.HTTPBodyPartEnumerator = [self.HTTPBodyParts objectEnumerator];
-}
-
-- (void)close {
- self.streamStatus = NSStreamStatusClosed;
-}
-
-- (id)propertyForKey:(__unused NSString *)key {
- return nil;
-}
-
-- (BOOL)setProperty:(__unused id)property
- forKey:(__unused NSString *)key
-{
- return NO;
-}
-
-- (void)scheduleInRunLoop:(__unused NSRunLoop *)aRunLoop
- forMode:(__unused NSString *)mode
-{}
-
-- (void)removeFromRunLoop:(__unused NSRunLoop *)aRunLoop
- forMode:(__unused NSString *)mode
-{}
-
-- (unsigned long long)contentLength {
- unsigned long long length = 0;
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- length += [bodyPart contentLength];
- }
-
- return length;
-}
-
-#pragma mark - Undocumented CFReadStream Bridged Methods
-
-- (void)_scheduleInCFRunLoop:(__unused CFRunLoopRef)aRunLoop
- forMode:(__unused CFStringRef)aMode
-{}
-
-- (void)_unscheduleFromCFRunLoop:(__unused CFRunLoopRef)aRunLoop
- forMode:(__unused CFStringRef)aMode
-{}
-
-- (BOOL)_setCFClientFlags:(__unused CFOptionFlags)inFlags
- callback:(__unused CFReadStreamClientCallBack)inCallback
- context:(__unused CFStreamClientContext *)inContext {
- return NO;
-}
-
-#pragma mark - NSCopying
-
--(id)copyWithZone:(NSZone *)zone {
- AFMultipartBodyStream *bodyStreamCopy = [[[self class] allocWithZone:zone] initWithStringEncoding:self.stringEncoding];
-
- for (AFHTTPBodyPart *bodyPart in self.HTTPBodyParts) {
- [bodyStreamCopy appendHTTPBodyPart:[bodyPart copy]];
- }
-
- [bodyStreamCopy setInitialAndFinalBoundaries];
-
- return bodyStreamCopy;
-}
-
-@end
-
-#pragma mark -
-
-typedef enum {
- AFEncapsulationBoundaryPhase = 1,
- AFHeaderPhase = 2,
- AFBodyPhase = 3,
- AFFinalBoundaryPhase = 4,
-} AFHTTPBodyPartReadPhase;
-
-@interface AFHTTPBodyPart () <NSCopying> {
- AFHTTPBodyPartReadPhase _phase;
- NSInputStream *_inputStream;
- unsigned long long _phaseReadOffset;
-}
-
-- (BOOL)transitionToNextPhase;
-- (NSInteger)readData:(NSData *)data
- intoBuffer:(uint8_t *)buffer
- maxLength:(NSUInteger)length;
-@end
-
-@implementation AFHTTPBodyPart
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- [self transitionToNextPhase];
-
- return self;
-}
-
-- (void)dealloc {
- if (_inputStream) {
- [_inputStream close];
- _inputStream = nil;
- }
-}
-
-- (NSInputStream *)inputStream {
- if (!_inputStream) {
- if ([self.body isKindOfClass:[NSData class]]) {
- _inputStream = [NSInputStream inputStreamWithData:self.body];
- } else if ([self.body isKindOfClass:[NSURL class]]) {
- _inputStream = [NSInputStream inputStreamWithURL:self.body];
- } else if ([self.body isKindOfClass:[NSInputStream class]]) {
- _inputStream = self.body;
- } else {
- _inputStream = [NSInputStream inputStreamWithData:[NSData data]];
- }
- }
-
- return _inputStream;
-}
-
-- (NSString *)stringForHeaders {
- NSMutableString *headerString = [NSMutableString string];
- for (NSString *field in [self.headers allKeys]) {
- [headerString appendString:[NSString stringWithFormat:@"%@: %@%@", field, [self.headers valueForKey:field], kAFMultipartFormCRLF]];
- }
- [headerString appendString:kAFMultipartFormCRLF];
-
- return [NSString stringWithString:headerString];
-}
-
-- (unsigned long long)contentLength {
- unsigned long long length = 0;
-
- NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];
- length += [encapsulationBoundaryData length];
-
- NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];
- length += [headersData length];
-
- length += _bodyContentLength;
-
- NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);
- length += [closingBoundaryData length];
-
- return length;
-}
-
-- (BOOL)hasBytesAvailable {
- // Allows `read:maxLength:` to be called again if `AFMultipartFormFinalBoundary` doesn't fit into the available buffer
- if (_phase == AFFinalBoundaryPhase) {
- return YES;
- }
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wcovered-switch-default"
- switch (self.inputStream.streamStatus) {
- case NSStreamStatusNotOpen:
- case NSStreamStatusOpening:
- case NSStreamStatusOpen:
- case NSStreamStatusReading:
- case NSStreamStatusWriting:
- return YES;
- case NSStreamStatusAtEnd:
- case NSStreamStatusClosed:
- case NSStreamStatusError:
- default:
- return NO;
- }
-#pragma clang diagnostic pop
-}
-
-- (NSInteger)read:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
- NSInteger totalNumberOfBytesRead = 0;
-
- if (_phase == AFEncapsulationBoundaryPhase) {
- NSData *encapsulationBoundaryData = [([self hasInitialBoundary] ? AFMultipartFormInitialBoundary(self.boundary) : AFMultipartFormEncapsulationBoundary(self.boundary)) dataUsingEncoding:self.stringEncoding];
- totalNumberOfBytesRead += [self readData:encapsulationBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- if (_phase == AFHeaderPhase) {
- NSData *headersData = [[self stringForHeaders] dataUsingEncoding:self.stringEncoding];
- totalNumberOfBytesRead += [self readData:headersData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- if (_phase == AFBodyPhase) {
- NSInteger numberOfBytesRead = 0;
-
- numberOfBytesRead = [self.inputStream read:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- if (numberOfBytesRead == -1) {
- return -1;
- } else {
- totalNumberOfBytesRead += numberOfBytesRead;
-
- if ([self.inputStream streamStatus] >= NSStreamStatusAtEnd) {
- [self transitionToNextPhase];
- }
- }
- }
-
- if (_phase == AFFinalBoundaryPhase) {
- NSData *closingBoundaryData = ([self hasFinalBoundary] ? [AFMultipartFormFinalBoundary(self.boundary) dataUsingEncoding:self.stringEncoding] : [NSData data]);
- totalNumberOfBytesRead += [self readData:closingBoundaryData intoBuffer:&buffer[totalNumberOfBytesRead] maxLength:(length - (NSUInteger)totalNumberOfBytesRead)];
- }
-
- return totalNumberOfBytesRead;
-}
-
-- (NSInteger)readData:(NSData *)data
- intoBuffer:(uint8_t *)buffer
- maxLength:(NSUInteger)length
-{
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- NSRange range = NSMakeRange((NSUInteger)_phaseReadOffset, MIN([data length] - ((NSUInteger)_phaseReadOffset), length));
- [data getBytes:buffer range:range];
-#pragma clang diagnostic pop
-
- _phaseReadOffset += range.length;
-
- if (((NSUInteger)_phaseReadOffset) >= [data length]) {
- [self transitionToNextPhase];
- }
-
- return (NSInteger)range.length;
-}
-
-- (BOOL)transitionToNextPhase {
- if (![[NSThread currentThread] isMainThread]) {
- dispatch_sync(dispatch_get_main_queue(), ^{
- [self transitionToNextPhase];
- });
- return YES;
- }
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wcovered-switch-default"
- switch (_phase) {
- case AFEncapsulationBoundaryPhase:
- _phase = AFHeaderPhase;
- break;
- case AFHeaderPhase:
- [self.inputStream scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
- [self.inputStream open];
- _phase = AFBodyPhase;
- break;
- case AFBodyPhase:
- [self.inputStream close];
- _phase = AFFinalBoundaryPhase;
- break;
- case AFFinalBoundaryPhase:
- default:
- _phase = AFEncapsulationBoundaryPhase;
- break;
- }
- _phaseReadOffset = 0;
-#pragma clang diagnostic pop
-
- return YES;
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPBodyPart *bodyPart = [[[self class] allocWithZone:zone] init];
-
- bodyPart.stringEncoding = self.stringEncoding;
- bodyPart.headers = self.headers;
- bodyPart.bodyContentLength = self.bodyContentLength;
- bodyPart.body = self.body;
- bodyPart.boundary = self.boundary;
-
- return bodyPart;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFJSONRequestSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithWritingOptions:(NSJSONWritingOptions)0];
-}
-
-+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions
-{
- AFJSONRequestSerializer *serializer = [[self alloc] init];
- serializer.writingOptions = writingOptions;
-
- return serializer;
-}
-
-#pragma mark - AFURLRequestSerialization
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- return [super requestBySerializingRequest:request withParameters:parameters error:error];
- }
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- }
-
- [mutableRequest setHTTPBody:[NSJSONSerialization dataWithJSONObject:parameters options:self.writingOptions error:error]];
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.writingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writingOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeInteger:self.writingOptions forKey:NSStringFromSelector(@selector(writingOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFJSONRequestSerializer *serializer = [super copyWithZone:zone];
- serializer.writingOptions = self.writingOptions;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFPropertyListRequestSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 writeOptions:0];
-}
-
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- writeOptions:(NSPropertyListWriteOptions)writeOptions
-{
- AFPropertyListRequestSerializer *serializer = [[self alloc] init];
- serializer.format = format;
- serializer.writeOptions = writeOptions;
-
- return serializer;
-}
-
-#pragma mark - AFURLRequestSerializer
-
-- (NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
- withParameters:(id)parameters
- error:(NSError *__autoreleasing *)error
-{
- NSParameterAssert(request);
-
- if ([self.HTTPMethodsEncodingParametersInURI containsObject:[[request HTTPMethod] uppercaseString]]) {
- return [super requestBySerializingRequest:request withParameters:parameters error:error];
- }
-
- NSMutableURLRequest *mutableRequest = [request mutableCopy];
-
- [self.HTTPRequestHeaders enumerateKeysAndObjectsUsingBlock:^(id field, id value, BOOL * __unused stop) {
- if (![request valueForHTTPHeaderField:field]) {
- [mutableRequest setValue:value forHTTPHeaderField:field];
- }
- }];
-
- if (parameters) {
- if (![mutableRequest valueForHTTPHeaderField:@"Content-Type"]) {
- [mutableRequest setValue:@"application/x-plist" forHTTPHeaderField:@"Content-Type"];
- }
-
- [mutableRequest setHTTPBody:[NSPropertyListSerialization dataWithPropertyList:parameters format:self.format options:self.writeOptions error:error]];
- }
-
- return mutableRequest;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.format = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];
- self.writeOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(writeOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeInteger:self.format forKey:NSStringFromSelector(@selector(format))];
- [coder encodeObject:@(self.writeOptions) forKey:NSStringFromSelector(@selector(writeOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFPropertyListRequestSerializer *serializer = [super copyWithZone:zone];
- serializer.format = self.format;
- serializer.writeOptions = self.writeOptions;
-
- return serializer;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h
deleted file mode 100644
index 030e8faed7..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1,310 +0,0 @@
-// AFSerialization.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-#import <CoreGraphics/CoreGraphics.h>
-
-/**
- The `AFURLResponseSerialization` protocol is adopted by an object that decodes data into a more useful object representation, according to details in the server response. Response serializers may additionally perform validation on the incoming response and data.
-
- For example, a JSON response serializer may check for an acceptable status code (`2XX` range) and content type (`application/json`), decoding a valid JSON response into an object.
- */
-@protocol AFURLResponseSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- The response object decoded from the data associated with a specified response.
-
- @param response The response to be processed.
- @param data The response data to be decoded.
- @param error The error that occurred while attempting to decode the response data.
-
- @return The object decoded from the specified response data.
- */
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-/**
- `AFHTTPResponseSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPResponseSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPResponseSerializer : NSObject <AFURLResponseSerialization>
-
-- (instancetype) init;
-
-/**
- The string encoding used to serialize parameters.
- */
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-///-----------------------------------------
-/// @name Configuring Response Serialization
-///-----------------------------------------
-
-/**
- The acceptable HTTP status codes for responses. When non-`nil`, responses with status codes not contained by the set will result in an error during validation.
-
- See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
- */
-@property (nonatomic, copy) NSIndexSet *acceptableStatusCodes;
-
-/**
- The acceptable MIME types for responses. When non-`nil`, responses with a `Content-Type` with MIME types that do not intersect with the set will result in an error during validation.
- */
-@property (nonatomic, copy) NSSet *acceptableContentTypes;
-
-/**
- Validates the specified response and data.
-
- In its base implementation, this method checks for an acceptable status code and content type. Subclasses may wish to add other domain-specific checks.
-
- @param response The response to be validated.
- @param data The data associated with the response.
- @param error The error that occurred while attempting to validate the response.
-
- @return `YES` if the response is valid, otherwise `NO`.
- */
-- (BOOL)validateResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-
-/**
- `AFJSONResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes JSON responses.
-
- By default, `AFJSONResponseSerializer` accepts the following MIME types, which includes the official standard, `application/json`, as well as other commonly-used types:
-
- - `application/json`
- - `text/json`
- - `text/javascript`
- */
-@interface AFJSONResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- Options for reading the response JSON data and creating the Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONReadingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONReadingOptions readingOptions;
-
-/**
- Whether to remove keys with `NSNull` values from response JSON. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL removesKeysWithNullValues;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param readingOptions The specified JSON reading options.
- */
-+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFXMLParserResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLParser` objects.
-
- By default, `AFXMLParserResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLParserResponseSerializer : AFHTTPResponseSerializer
-
-@end
-
-#pragma mark -
-
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-/**
- `AFXMLDocumentResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFXMLDocumentResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLDocumentResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- Input and output options specifically intended for `NSXMLDocument` objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONReadingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSUInteger options;
-
-/**
- Creates and returns an XML document serializer with the specified options.
-
- @param mask The XML document options.
- */
-+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask;
-
-@end
-
-#endif
-
-#pragma mark -
-
-/**
- `AFPropertyListResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFPropertyListResponseSerializer` accepts the following MIME types:
-
- - `application/x-plist`
- */
-@interface AFPropertyListResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype) init;
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- The property list reading options. Possible values are described in "NSPropertyListMutabilityOptions."
- */
-@property (nonatomic, assign) NSPropertyListReadOptions readOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param readOptions The property list reading options.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- readOptions:(NSPropertyListReadOptions)readOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFImageResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes image responses.
-
- By default, `AFImageResponseSerializer` accepts the following MIME types, which correspond to the image formats supported by UIImage or NSImage:
-
- - `image/tiff`
- - `image/jpeg`
- - `image/gif`
- - `image/png`
- - `image/ico`
- - `image/x-icon`
- - `image/bmp`
- - `image/x-bmp`
- - `image/x-xbitmap`
- - `image/x-win-bitmap`
- */
-@interface AFImageResponseSerializer : AFHTTPResponseSerializer
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-/**
- The scale factor used when interpreting the image data to construct `responseImage`. Specifying a scale factor of 1.0 results in an image whose size matches the pixel-based dimensions of the image. Applying a different scale factor changes the size of the image as reported by the size property. This is set to the value of scale of the main screen by default, which automatically scales images for retina displays, for instance.
- */
-@property (nonatomic, assign) CGFloat imageScale;
-
-/**
- Whether to automatically inflate response image data for compressed formats (such as PNG or JPEG). Enabling this can significantly improve drawing performance on iOS when used with `setCompletionBlockWithSuccess:failure:`, as it allows a bitmap representation to be constructed in the background rather than on the main thread. `YES` by default.
- */
-@property (nonatomic, assign) BOOL automaticallyInflatesResponseImage;
-#endif
-
-@end
-
-#pragma mark -
-
-/**
- `AFCompoundSerializer` is a subclass of `AFHTTPResponseSerializer` that delegates the response serialization to the first `AFHTTPResponseSerializer` object that returns an object for `responseObjectForResponse:data:error:`, falling back on the default behavior of `AFHTTPResponseSerializer`. This is useful for supporting multiple potential types and structures of server responses with a single serializer.
- */
-@interface AFCompoundResponseSerializer : AFHTTPResponseSerializer
-
-/**
- The component response serializers.
- */
-@property (readonly, nonatomic, copy) NSArray *responseSerializers;
-
-/**
- Creates and returns a compound serializer comprised of the specified response serializers.
-
- @warning Each response serializer specified must be a subclass of `AFHTTPResponseSerializer`, and response to `-validateResponse:data:error:`.
- */
-+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLResponseSerializationErrorDomain`
-
- ### Constants
-
- `AFURLResponseSerializationErrorDomain`
- AFURLResponseSerializer errors. Error codes for `AFURLResponseSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-extern NSString * const AFURLResponseSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLResponseErrorKey`
- - `NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLResponseErrorKey`
- The corresponding value is an `NSURLResponse` containing the response of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
-
- `AFNetworkingOperationFailingURLResponseDataErrorKey`
- The corresponding value is an `NSData` containing the original data of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
- */
-extern NSString * const AFNetworkingOperationFailingURLResponseErrorKey;
-
-extern NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey;
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m
deleted file mode 100644
index 083d30c266..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLResponseSerialization.m
+++ /dev/null
@@ -1,793 +0,0 @@
-// AFSerialization.h
-//
-// 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.
-
-#import "AFURLResponseSerialization.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <UIKit/UIKit.h>
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
-#import <Cocoa/Cocoa.h>
-#endif
-
-NSString * const AFURLResponseSerializationErrorDomain = @"com.alamofire.error.serialization.response";
-NSString * const AFNetworkingOperationFailingURLResponseErrorKey = @"com.alamofire.serialization.response.error.response";
-NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey = @"com.alamofire.serialization.response.error.data";
-
-static NSError * AFErrorWithUnderlyingError(NSError *error, NSError *underlyingError) {
- if (!error) {
- return underlyingError;
- }
-
- if (!underlyingError || error.userInfo[NSUnderlyingErrorKey]) {
- return error;
- }
-
- NSMutableDictionary *mutableUserInfo = [error.userInfo mutableCopy];
- mutableUserInfo[NSUnderlyingErrorKey] = underlyingError;
-
- return [[NSError alloc] initWithDomain:error.domain code:error.code userInfo:mutableUserInfo];
-}
-
-static BOOL AFErrorOrUnderlyingErrorHasCodeInDomain(NSError *error, NSInteger code, NSString *domain) {
- if ([error.domain isEqualToString:domain] && error.code == code) {
- return YES;
- } else if (error.userInfo[NSUnderlyingErrorKey]) {
- return AFErrorOrUnderlyingErrorHasCodeInDomain(error.userInfo[NSUnderlyingErrorKey], code, domain);
- }
-
- return NO;
-}
-
-static id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions) {
- if ([JSONObject isKindOfClass:[NSArray class]]) {
- NSMutableArray *mutableArray = [NSMutableArray arrayWithCapacity:[(NSArray *)JSONObject count]];
- for (id value in (NSArray *)JSONObject) {
- [mutableArray addObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions)];
- }
-
- return (readingOptions & NSJSONReadingMutableContainers) ? mutableArray : [NSArray arrayWithArray:mutableArray];
- } else if ([JSONObject isKindOfClass:[NSDictionary class]]) {
- NSMutableDictionary *mutableDictionary = [NSMutableDictionary dictionaryWithDictionary:JSONObject];
- for (id <NSCopying> key in [(NSDictionary *)JSONObject allKeys]) {
- id value = [(NSDictionary *)JSONObject objectForKey:key];
- if (!value || [value isEqual:[NSNull null]]) {
- [mutableDictionary removeObjectForKey:key];
- } else if ([value isKindOfClass:[NSArray class]] || [value isKindOfClass:[NSDictionary class]]) {
- [mutableDictionary setObject:AFJSONObjectByRemovingKeysWithNullValues(value, readingOptions) forKey:key];
- }
- }
-
- return (readingOptions & NSJSONReadingMutableContainers) ? mutableDictionary : [NSDictionary dictionaryWithDictionary:mutableDictionary];
- }
-
- return JSONObject;
-}
-
-@implementation AFHTTPResponseSerializer
-
-+ (instancetype)serializer {
- return [[self alloc] init];
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.stringEncoding = NSUTF8StringEncoding;
-
- self.acceptableStatusCodes = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 100)];
- self.acceptableContentTypes = nil;
-
- return self;
-}
-
-#pragma mark -
-
-- (BOOL)validateResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError * __autoreleasing *)error
-{
- BOOL responseIsValid = YES;
- NSError *validationError = nil;
-
- if (response && [response isKindOfClass:[NSHTTPURLResponse class]]) {
- if (self.acceptableContentTypes && ![self.acceptableContentTypes containsObject:[response MIMEType]]) {
- if ([data length] > 0 && [response URL]) {
- NSMutableDictionary *mutableUserInfo = [@{
- NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: unacceptable content-type: %@", @"AFNetworking", nil), [response MIMEType]],
- NSURLErrorFailingURLErrorKey:[response URL],
- AFNetworkingOperationFailingURLResponseErrorKey: response,
- } mutableCopy];
- if (data) {
- mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
- }
-
- validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:mutableUserInfo], validationError);
- }
-
- responseIsValid = NO;
- }
-
- if (self.acceptableStatusCodes && ![self.acceptableStatusCodes containsIndex:(NSUInteger)response.statusCode] && [response URL]) {
- NSMutableDictionary *mutableUserInfo = [@{
- NSLocalizedDescriptionKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Request failed: %@ (%ld)", @"AFNetworking", nil), [NSHTTPURLResponse localizedStringForStatusCode:response.statusCode], (long)response.statusCode],
- NSURLErrorFailingURLErrorKey:[response URL],
- AFNetworkingOperationFailingURLResponseErrorKey: response,
- } mutableCopy];
-
- if (data) {
- mutableUserInfo[AFNetworkingOperationFailingURLResponseDataErrorKey] = data;
- }
-
- validationError = AFErrorWithUnderlyingError([NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorBadServerResponse userInfo:mutableUserInfo], validationError);
-
- responseIsValid = NO;
- }
- }
-
- if (error && !responseIsValid) {
- *error = validationError;
- }
-
- return responseIsValid;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- [self validateResponse:(NSHTTPURLResponse *)response data:data error:error];
-
- return data;
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [self init];
- if (!self) {
- return nil;
- }
-
- self.acceptableStatusCodes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
- self.acceptableContentTypes = [decoder decodeObjectOfClass:[NSIndexSet class] forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.acceptableStatusCodes forKey:NSStringFromSelector(@selector(acceptableStatusCodes))];
- [coder encodeObject:self.acceptableContentTypes forKey:NSStringFromSelector(@selector(acceptableContentTypes))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFHTTPResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.acceptableStatusCodes = [self.acceptableStatusCodes copyWithZone:zone];
- serializer.acceptableContentTypes = [self.acceptableContentTypes copyWithZone:zone];
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFJSONResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithReadingOptions:(NSJSONReadingOptions)0];
-}
-
-+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions {
- AFJSONResponseSerializer *serializer = [[self alloc] init];
- serializer.readingOptions = readingOptions;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [NSSet setWithObjects:@"application/json", @"text/json", @"text/javascript", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- // Workaround for behavior of Rails to return a single space for `head :ok` (a workaround for a bug in Safari), which is not interpreted as valid input by NSJSONSerialization.
- // See https://github.com/rails/rails/issues/1742
- NSStringEncoding stringEncoding = self.stringEncoding;
- if (response.textEncodingName) {
- CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding((CFStringRef)response.textEncodingName);
- if (encoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(encoding);
- }
- }
-
- id responseObject = nil;
- NSError *serializationError = nil;
- @autoreleasepool {
- NSString *responseString = [[NSString alloc] initWithData:data encoding:stringEncoding];
- if (responseString && ![responseString isEqualToString:@" "]) {
- // Workaround for a bug in NSJSONSerialization when Unicode character escape codes are used instead of the actual character
- // See http://stackoverflow.com/a/12843465/157142
- data = [responseString dataUsingEncoding:NSUTF8StringEncoding];
-
- if (data) {
- if ([data length] > 0) {
- responseObject = [NSJSONSerialization JSONObjectWithData:data options:self.readingOptions error:&serializationError];
- } else {
- return nil;
- }
- } else {
- NSDictionary *userInfo = @{
- NSLocalizedDescriptionKey: NSLocalizedStringFromTable(@"Data failed decoding as a UTF-8 string", @"AFNetworking", nil),
- NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:NSLocalizedStringFromTable(@"Could not decode string: %@", @"AFNetworking", nil), responseString]
- };
-
- serializationError = [NSError errorWithDomain:AFURLResponseSerializationErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:userInfo];
- }
- }
- }
-
- if (self.removesKeysWithNullValues && responseObject) {
- responseObject = AFJSONObjectByRemovingKeysWithNullValues(responseObject, self.readingOptions);
- }
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return responseObject;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.readingOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readingOptions))] unsignedIntegerValue];
- self.removesKeysWithNullValues = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))] boolValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.readingOptions) forKey:NSStringFromSelector(@selector(readingOptions))];
- [coder encodeObject:@(self.removesKeysWithNullValues) forKey:NSStringFromSelector(@selector(removesKeysWithNullValues))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFJSONResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.readingOptions = self.readingOptions;
- serializer.removesKeysWithNullValues = self.removesKeysWithNullValues;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@implementation AFXMLParserResponseSerializer
-
-+ (instancetype)serializer {
- AFXMLParserResponseSerializer *serializer = [[self alloc] init];
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSHTTPURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- return [[NSXMLParser alloc] initWithData:data];
-}
-
-@end
-
-#pragma mark -
-
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-@implementation AFXMLDocumentResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithXMLDocumentOptions:0];
-}
-
-+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask {
- AFXMLDocumentResponseSerializer *serializer = [[self alloc] init];
- serializer.options = mask;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/xml", @"text/xml", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- NSError *serializationError = nil;
- NSXMLDocument *document = [[NSXMLDocument alloc] initWithData:data options:self.options error:&serializationError];
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return document;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.options = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(options))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.options) forKey:NSStringFromSelector(@selector(options))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFXMLDocumentResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.options = self.options;
-
- return serializer;
-}
-
-@end
-
-#endif
-
-#pragma mark -
-
-@implementation AFPropertyListResponseSerializer
-
-+ (instancetype)serializer {
- return [self serializerWithFormat:NSPropertyListXMLFormat_v1_0 readOptions:0];
-}
-
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
- readOptions:(NSPropertyListReadOptions)readOptions
-{
- AFPropertyListResponseSerializer *serializer = [[self alloc] init];
- serializer.format = format;
- serializer.readOptions = readOptions;
-
- return serializer;
-}
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"application/x-plist", nil];
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
- id responseObject;
- NSError *serializationError = nil;
-
- if (data) {
- responseObject = [NSPropertyListSerialization propertyListWithData:data options:self.readOptions format:NULL error:&serializationError];
- }
-
- if (error) {
- *error = AFErrorWithUnderlyingError(serializationError, *error);
- }
-
- return responseObject;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.format = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(format))] unsignedIntegerValue];
- self.readOptions = [[decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(readOptions))] unsignedIntegerValue];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:@(self.format) forKey:NSStringFromSelector(@selector(format))];
- [coder encodeObject:@(self.readOptions) forKey:NSStringFromSelector(@selector(readOptions))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFPropertyListResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.format = self.format;
- serializer.readOptions = self.readOptions;
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-#import <CoreGraphics/CoreGraphics.h>
-
-static UIImage * AFImageWithDataAtScale(NSData *data, CGFloat scale) {
- UIImage *image = [[UIImage alloc] initWithData:data];
-
- return [[UIImage alloc] initWithCGImage:[image CGImage] scale:scale orientation:image.imageOrientation];
-}
-
-static UIImage * AFInflatedImageFromResponseWithDataAtScale(NSHTTPURLResponse *response, NSData *data, CGFloat scale) {
- if (!data || [data length] == 0) {
- return nil;
- }
-
- CGImageRef imageRef = NULL;
- CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)data);
-
- if ([response.MIMEType isEqualToString:@"image/png"]) {
- imageRef = CGImageCreateWithPNGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
- } else if ([response.MIMEType isEqualToString:@"image/jpeg"]) {
- imageRef = CGImageCreateWithJPEGDataProvider(dataProvider, NULL, true, kCGRenderingIntentDefault);
-
- // CGImageCreateWithJPEGDataProvider does not properly handle CMKY, so if so, fall back to AFImageWithDataAtScale
- if (imageRef) {
- CGColorSpaceRef imageColorSpace = CGImageGetColorSpace(imageRef);
- CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(imageColorSpace);
- if (imageColorSpaceModel == kCGColorSpaceModelCMYK) {
- CGImageRelease(imageRef);
- imageRef = NULL;
- }
- }
- }
-
- CGDataProviderRelease(dataProvider);
-
- UIImage *image = AFImageWithDataAtScale(data, scale);
- if (!imageRef) {
- if (image.images || !image) {
- return image;
- }
-
- imageRef = CGImageCreateCopy([image CGImage]);
- if (!imageRef) {
- return nil;
- }
- }
-
- size_t width = CGImageGetWidth(imageRef);
- size_t height = CGImageGetHeight(imageRef);
- size_t bitsPerComponent = CGImageGetBitsPerComponent(imageRef);
-
- if (width * height > 1024 * 1024 || bitsPerComponent > 8) {
- CGImageRelease(imageRef);
-
- return image;
- }
-
- size_t bytesPerRow = 0; // CGImageGetBytesPerRow() calculates incorrectly in iOS 5.0, so defer to CGBitmapContextCreate
- CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
- CGColorSpaceModel colorSpaceModel = CGColorSpaceGetModel(colorSpace);
- CGBitmapInfo bitmapInfo = CGImageGetBitmapInfo(imageRef);
-
- if (colorSpaceModel == kCGColorSpaceModelRGB) {
- uint32_t alpha = (bitmapInfo & kCGBitmapAlphaInfoMask);
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wassign-enum"
- if (alpha == kCGImageAlphaNone) {
- bitmapInfo &= ~kCGBitmapAlphaInfoMask;
- bitmapInfo |= kCGImageAlphaNoneSkipFirst;
- } else if (!(alpha == kCGImageAlphaNoneSkipFirst || alpha == kCGImageAlphaNoneSkipLast)) {
- bitmapInfo &= ~kCGBitmapAlphaInfoMask;
- bitmapInfo |= kCGImageAlphaPremultipliedFirst;
- }
-#pragma clang diagnostic pop
- }
-
- CGContextRef context = CGBitmapContextCreate(NULL, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
-
- CGColorSpaceRelease(colorSpace);
-
- if (!context) {
- CGImageRelease(imageRef);
-
- return image;
- }
-
- CGContextDrawImage(context, CGRectMake(0.0f, 0.0f, width, height), imageRef);
- CGImageRef inflatedImageRef = CGBitmapContextCreateImage(context);
-
- CGContextRelease(context);
-
- UIImage *inflatedImage = [[UIImage alloc] initWithCGImage:inflatedImageRef scale:scale orientation:image.imageOrientation];
-
- CGImageRelease(inflatedImageRef);
- CGImageRelease(imageRef);
-
- return inflatedImage;
-}
-#endif
-
-
-@implementation AFImageResponseSerializer
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.acceptableContentTypes = [[NSSet alloc] initWithObjects:@"image/tiff", @"image/jpeg", @"image/gif", @"image/png", @"image/ico", @"image/x-icon", @"image/bmp", @"image/x-bmp", @"image/x-xbitmap", @"image/x-win-bitmap", nil];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- self.imageScale = [[UIScreen mainScreen] scale];
- self.automaticallyInflatesResponseImage = YES;
-#endif
-
- return self;
-}
-
-#pragma mark - AFURLResponseSerializer
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- if (![self validateResponse:(NSHTTPURLResponse *)response data:data error:error]) {
- if (!error || AFErrorOrUnderlyingErrorHasCodeInDomain(*error, NSURLErrorCannotDecodeContentData, AFURLResponseSerializationErrorDomain)) {
- return nil;
- }
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- if (self.automaticallyInflatesResponseImage) {
- return AFInflatedImageFromResponseWithDataAtScale((NSHTTPURLResponse *)response, data, self.imageScale);
- } else {
- return AFImageWithDataAtScale(data, self.imageScale);
- }
-#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
- // Ensure that the image is set to it's correct pixel width and height
- NSBitmapImageRep *bitimage = [[NSBitmapImageRep alloc] initWithData:data];
- NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize([bitimage pixelsWide], [bitimage pixelsHigh])];
- [image addRepresentation:bitimage];
-
- return image;
-#endif
-
- return nil;
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- NSNumber *imageScale = [decoder decodeObjectOfClass:[NSNumber class] forKey:NSStringFromSelector(@selector(imageScale))];
-#if CGFLOAT_IS_DOUBLE
- self.imageScale = [imageScale doubleValue];
-#else
- self.imageScale = [imageScale floatValue];
-#endif
-
- self.automaticallyInflatesResponseImage = [decoder decodeBoolForKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
-#endif
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- [coder encodeObject:@(self.imageScale) forKey:NSStringFromSelector(@selector(imageScale))];
- [coder encodeBool:self.automaticallyInflatesResponseImage forKey:NSStringFromSelector(@selector(automaticallyInflatesResponseImage))];
-#endif
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFImageResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
- serializer.imageScale = self.imageScale;
- serializer.automaticallyInflatesResponseImage = self.automaticallyInflatesResponseImage;
-#endif
-
- return serializer;
-}
-
-@end
-
-#pragma mark -
-
-@interface AFCompoundResponseSerializer ()
-@property (readwrite, nonatomic, copy) NSArray *responseSerializers;
-@end
-
-@implementation AFCompoundResponseSerializer
-
-+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray *)responseSerializers {
- AFCompoundResponseSerializer *serializer = [[self alloc] init];
- serializer.responseSerializers = responseSerializers;
-
- return serializer;
-}
-
-#pragma mark - AFURLResponseSerialization
-
-- (id)responseObjectForResponse:(NSURLResponse *)response
- data:(NSData *)data
- error:(NSError *__autoreleasing *)error
-{
- for (id <AFURLResponseSerialization> serializer in self.responseSerializers) {
- if (![serializer isKindOfClass:[AFHTTPResponseSerializer class]]) {
- continue;
- }
-
- NSError *serializerError = nil;
- id responseObject = [serializer responseObjectForResponse:response data:data error:&serializerError];
- if (responseObject) {
- if (error) {
- *error = AFErrorWithUnderlyingError(serializerError, *error);
- }
-
- return responseObject;
- }
- }
-
- return [super responseObjectForResponse:response data:data error:error];
-}
-
-#pragma mark - NSSecureCoding
-
-- (id)initWithCoder:(NSCoder *)decoder {
- self = [super initWithCoder:decoder];
- if (!self) {
- return nil;
- }
-
- self.responseSerializers = [decoder decodeObjectOfClass:[NSArray class] forKey:NSStringFromSelector(@selector(responseSerializers))];
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [super encodeWithCoder:coder];
-
- [coder encodeObject:self.responseSerializers forKey:NSStringFromSelector(@selector(responseSerializers))];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- AFCompoundResponseSerializer *serializer = [[[self class] allocWithZone:zone] init];
- serializer.responseSerializers = self.responseSerializers;
-
- return serializer;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h
deleted file mode 100644
index f475773d02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1,531 +0,0 @@
-// AFURLSessionManager.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-#import "AFSecurityPolicy.h"
-#import "AFNetworkReachabilityManager.h"
-
-/**
- `AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
- ## Subclassing Notes
-
- This is the base class for `AFHTTPSessionManager`, which adds functionality specific to making HTTP requests. If you are looking to extend `AFURLSessionManager` specifically for HTTP, consider subclassing `AFHTTPSessionManager` instead.
-
- ## NSURLSession & NSURLSessionTask Delegate Methods
-
- `AFURLSessionManager` implements the following delegate methods:
-
- ### `NSURLSessionDelegate`
-
- - `URLSession:didBecomeInvalidWithError:`
- - `URLSession:didReceiveChallenge:completionHandler:`
- - `URLSessionDidFinishEventsForBackgroundURLSession:`
-
- ### `NSURLSessionTaskDelegate`
-
- - `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`
- - `URLSession:task:didReceiveChallenge:completionHandler:`
- - `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`
- - `URLSession:task:didCompleteWithError:`
-
- ### `NSURLSessionDataDelegate`
-
- - `URLSession:dataTask:didReceiveResponse:completionHandler:`
- - `URLSession:dataTask:didBecomeDownloadTask:`
- - `URLSession:dataTask:didReceiveData:`
- - `URLSession:dataTask:willCacheResponse:completionHandler:`
-
- ### `NSURLSessionDownloadDelegate`
-
- - `URLSession:downloadTask:didFinishDownloadingToURL:`
- - `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`
- - `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`
-
- If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.
-
- ## Network Reachability Monitoring
-
- Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.
-
- ## NSCoding Caveats
-
- - Encoded managers do not include any block properties. Be sure to set delegate callback blocks when using `-initWithCoder:` or `NSKeyedUnarchiver`.
-
- ## NSCopying Caveats
-
- - `-copy` and `-copyWithZone:` return a new manager with a new `NSURLSession` created from the configuration of the original.
- - Operation copies do not include any delegate callback blocks, as they often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ session manager when copied.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-@interface AFURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate, NSSecureCoding, NSCopying>
-
-/**
- The managed session.
- */
-@property (readonly, nonatomic, strong) NSURLSession *session;
-
-/**
- The operation queue on which delegate callbacks are run.
- */
-@property (readonly, nonatomic, strong) NSOperationQueue *operationQueue;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> responseSerializer;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created request operations to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///--------------------------------------
-/// @name Monitoring Network Reachability
-///--------------------------------------
-
-/**
- The network reachability manager. `AFURLSessionManager` uses the `sharedManager` by default.
- */
-@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;
-
-///----------------------------
-/// @name Getting Session Tasks
-///----------------------------
-
-/**
- The data, upload, and download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *tasks;
-
-/**
- The data tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *dataTasks;
-
-/**
- The upload tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *uploadTasks;
-
-/**
- The download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray *downloadTasks;
-
-///-------------------------------
-/// @name Managing Callback Queues
-///-------------------------------
-
-/**
- The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong) dispatch_group_t completionGroup;
-
-///---------------------------------
-/// @name Working Around System Bugs
-///---------------------------------
-
-/**
- Whether to attempt to retry creation of upload tasks for background sessions when initial call returns `nil`. `NO` by default.
-
- @bug As of iOS 7.0, there is a bug where upload tasks created for background tasks are sometimes `nil`. As a workaround, if this property is `YES`, AFNetworking will follow Apple's recommendation to try creating the task again.
-
- @see https://github.com/AFNetworking/AFNetworking/issues/1675
- */
-@property (nonatomic, assign) BOOL attemptsToRecreateUploadTasksForBackgroundSessions;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a manager for a session created with the specified configuration. This is the designated initializer.
-
- @param configuration The configuration used to create the managed session.
-
- @return A manager for a newly-created session.
- */
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration;
-
-/**
- Invalidates the managed session, optionally canceling pending tasks.
-
- @param cancelPendingTasks Whether or not to cancel pending tasks.
- */
-- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks;
-
-///-------------------------
-/// @name Running Data Tasks
-///-------------------------
-
-/**
- Creates an `NSURLSessionDataTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-///---------------------------
-/// @name Running Upload Tasks
-///---------------------------
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for a local file.
-
- @param request The HTTP request for the request.
- @param fileURL A URL to the local file to be uploaded.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
-
- @see `attemptsToRecreateUploadTasksForBackgroundSessions`
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromFile:(NSURL *)fileURL
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for an HTTP body.
-
- @param request The HTTP request for the request.
- @param bodyData A data object containing the HTTP body to be uploaded.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromData:(NSData *)bodyData
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified streaming request.
-
- @param request The HTTP request for the request.
- @param progress A progress object monitoring the current upload progress.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler;
-
-///-----------------------------
-/// @name Running Download Tasks
-///-----------------------------
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param progress A progress object monitoring the current download progress.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
-
- @warning If using a background `NSURLSessionConfiguration` on iOS, these blocks will be lost when the app is terminated. Background sessions may prefer to use `-setDownloadTaskDidFinishDownloadingBlock:` to specify the URL for saving the downloaded file, rather than the destination block of this method.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified resume data.
-
- @param resumeData The data used to resume downloading.
- @param progress A progress object monitoring the current download progress.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;
-
-///---------------------------------
-/// @name Getting Progress for Tasks
-///---------------------------------
-
-/**
- Returns the upload progress of the specified task.
-
- @param uploadTask The session upload task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the upload progress of a task, or `nil` if the progress is unavailable.
- */
-- (NSProgress *)uploadProgressForTask:(NSURLSessionUploadTask *)uploadTask;
-
-/**
- Returns the download progress of the specified task.
-
- @param downloadTask The session download task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the download progress of a task, or `nil` if the progress is unavailable.
- */
-- (NSProgress *)downloadProgressForTask:(NSURLSessionDownloadTask *)downloadTask;
-
-///-----------------------------------------
-/// @name Setting Session Delegate Callbacks
-///-----------------------------------------
-
-/**
- Sets a block to be executed when the managed session becomes invalid, as handled by the `NSURLSessionDelegate` method `URLSession:didBecomeInvalidWithError:`.
-
- @param block A block object to be executed when the managed session becomes invalid. The block has no return value, and takes two arguments: the session, and the error related to the cause of invalidation.
- */
-- (void)setSessionDidBecomeInvalidBlock:(void (^)(NSURLSession *session, NSError *error))block;
-
-/**
- Sets a block to be executed when a connection level authentication challenge has occurred, as handled by the `NSURLSessionDelegate` method `URLSession:didReceiveChallenge:completionHandler:`.
-
- @param block A block object to be executed when a connection level authentication challenge has occurred. The block returns the disposition of the authentication challenge, and takes three arguments: the session, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.
- */
-- (void)setSessionDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block;
-
-///--------------------------------------
-/// @name Setting Task Delegate Callbacks
-///--------------------------------------
-
-/**
- Sets a block to be executed when a task requires a new request body stream to send to the remote server, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:needNewBodyStream:`.
-
- @param block A block object to be executed when a task requires a new request body stream.
- */
-- (void)setTaskNeedNewBodyStreamBlock:(NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block;
-
-/**
- Sets a block to be executed when an HTTP request is attempting to perform a redirection to a different URL, as handled by the `NSURLSessionTaskDelegate` method `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`.
-
- @param block A block object to be executed when an HTTP request is attempting to perform a redirection to a different URL. The block returns the request to be made for the redirection, and takes four arguments: the session, the task, the redirection response, and the request corresponding to the redirection response.
- */
-- (void)setTaskWillPerformHTTPRedirectionBlock:(NSURLRequest * (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block;
-
-/**
- Sets a block to be executed when a session task has received a request specific authentication challenge, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didReceiveChallenge:completionHandler:`.
-
- @param block A block object to be executed when a session task has received a request specific authentication challenge. The block returns the disposition of the authentication challenge, and takes four arguments: the session, the task, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.
- */
-- (void)setTaskDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block;
-
-/**
- Sets a block to be executed periodically to track upload progress, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.
-
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes five arguments: the session, the task, the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setTaskDidSendBodyDataBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block;
-
-/**
- Sets a block to be executed as the last message related to a specific task, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didCompleteWithError:`.
-
- @param block A block object to be executed when a session task is completed. The block has no return value, and takes three arguments: the session, the task, and any error that occurred in the process of executing the task.
- */
-- (void)setTaskDidCompleteBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, NSError *error))block;
-
-///-------------------------------------------
-/// @name Setting Data Task Delegate Callbacks
-///-------------------------------------------
-
-/**
- Sets a block to be executed when a data task has received a response, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveResponse:completionHandler:`.
-
- @param block A block object to be executed when a data task has received a response. The block returns the disposition of the session response, and takes three arguments: the session, the data task, and the received response.
- */
-- (void)setDataTaskDidReceiveResponseBlock:(NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block;
-
-/**
- Sets a block to be executed when a data task has become a download task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didBecomeDownloadTask:`.
-
- @param block A block object to be executed when a data task has become a download task. The block has no return value, and takes three arguments: the session, the data task, and the download task it has become.
- */
-- (void)setDataTaskDidBecomeDownloadTaskBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block;
-
-/**
- Sets a block to be executed when a data task receives data, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveData:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the session, the data task, and the data received. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDataTaskDidReceiveDataBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block;
-
-/**
- Sets a block to be executed to determine the caching behavior of a data task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:willCacheResponse:completionHandler:`.
-
- @param block A block object to be executed to determine the caching behavior of a data task. The block returns the response to cache, and takes three arguments: the session, the data task, and the proposed cached URL response.
- */
-- (void)setDataTaskWillCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block;
-
-/**
- Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDataDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.
-
- @param block A block object to be executed once all messages enqueued for a session have been delivered. The block has no return value and takes a single argument: the session.
- */
-- (void)setDidFinishEventsForBackgroundURLSessionBlock:(void (^)(NSURLSession *session))block;
-
-///-----------------------------------------------
-/// @name Setting Download Task Delegate Callbacks
-///-----------------------------------------------
-
-/**
- Sets a block to be executed when a download task has completed a download, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didFinishDownloadingToURL:`.
-
- @param block A block object to be executed when a download task has completed. The block returns the URL the download should be moved to, and takes three arguments: the session, the download task, and the temporary location of the downloaded file. If the file manager encounters an error while attempting to move the temporary file to the destination, an `AFURLSessionDownloadTaskDidFailToMoveFileNotification` will be posted, with the download task as its object, and the user info of the error.
- */
-- (void)setDownloadTaskDidFinishDownloadingBlock:(NSURL * (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block;
-
-/**
- Sets a block to be executed periodically to track download progress, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesWritten:totalBytesExpectedToWrite:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes five arguments: the session, the download task, the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDownloadTaskDidWriteDataBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block;
-
-/**
- Sets a block to be executed when a download task has been resumed, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.
-
- @param block A block object to be executed when a download task has been resumed. The block has no return value and takes four arguments: the session, the download task, the file offset of the resumed download, and the total number of bytes expected to be downloaded.
- */
-- (void)setDownloadTaskDidResumeBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block;
-
-@end
-
-#endif
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when a task begins executing.
-
- @deprecated Use `AFNetworkingTaskDidResumeNotification` instead.
- */
-extern NSString * const AFNetworkingTaskDidStartNotification DEPRECATED_ATTRIBUTE;
-
-/**
- Posted when a task resumes.
- */
-extern NSString * const AFNetworkingTaskDidResumeNotification;
-
-/**
- Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.
-
- @deprecated Use `AFNetworkingTaskDidCompleteNotification` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishNotification DEPRECATED_ATTRIBUTE;
-
-/**
- Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.
- */
-extern NSString * const AFNetworkingTaskDidCompleteNotification;
-
-/**
- Posted when a task suspends its execution.
- */
-extern NSString * const AFNetworkingTaskDidSuspendNotification;
-
-/**
- Posted when a session is invalidated.
- */
-extern NSString * const AFURLSessionDidInvalidateNotification;
-
-/**
- Posted when a session download task encountered an error when moving the temporary download file to a specified destination.
- */
-extern NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification;
-
-/**
- The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if response data exists for the task.
-
- @deprecated Use `AFNetworkingTaskDidCompleteResponseDataKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishResponseDataKey DEPRECATED_ATTRIBUTE;
-
-/**
- The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if response data exists for the task.
- */
-extern NSString * const AFNetworkingTaskDidCompleteResponseDataKey;
-
-/**
- The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the response was serialized.
-
- @deprecated Use `AFNetworkingTaskDidCompleteSerializedResponseKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishSerializedResponseKey DEPRECATED_ATTRIBUTE;
-
-/**
- The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the response was serialized.
- */
-extern NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey;
-
-/**
- The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the task has an associated response serializer.
-
- @deprecated Use `AFNetworkingTaskDidCompleteResponseSerializerKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishResponseSerializerKey DEPRECATED_ATTRIBUTE;
-
-/**
- The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if the task has an associated response serializer.
- */
-extern NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey;
-
-/**
- The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an the response data has been stored directly to disk.
-
- @deprecated Use `AFNetworkingTaskDidCompleteAssetPathKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishAssetPathKey DEPRECATED_ATTRIBUTE;
-
-/**
- The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an the response data has been stored directly to disk.
- */
-extern NSString * const AFNetworkingTaskDidCompleteAssetPathKey;
-
-/**
- Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an error exists.
-
- @deprecated Use `AFNetworkingTaskDidCompleteErrorKey` instead.
- */
-extern NSString * const AFNetworkingTaskDidFinishErrorKey DEPRECATED_ATTRIBUTE;
-
-/**
- Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidFinishNotification` if an error exists.
- */
-extern NSString * const AFNetworkingTaskDidCompleteErrorKey;
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m
deleted file mode 100644
index d53e6ec2db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/AFNetworking/AFURLSessionManager.m
+++ /dev/null
@@ -1,1079 +0,0 @@
-// AFURLSessionManager.m
-//
-// 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.
-
-#import "AFURLSessionManager.h"
-#import <objc/runtime.h>
-
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-static dispatch_queue_t url_session_manager_creation_queue() {
- static dispatch_queue_t af_url_session_manager_creation_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_creation_queue = dispatch_queue_create("com.alamofire.networking.session.manager.creation", DISPATCH_QUEUE_SERIAL);
- });
-
- return af_url_session_manager_creation_queue;
-}
-
-static dispatch_queue_t url_session_manager_processing_queue() {
- static dispatch_queue_t af_url_session_manager_processing_queue;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_processing_queue = dispatch_queue_create("com.alamofire.networking.session.manager.processing", DISPATCH_QUEUE_CONCURRENT);
- });
-
- return af_url_session_manager_processing_queue;
-}
-
-static dispatch_group_t url_session_manager_completion_group() {
- static dispatch_group_t af_url_session_manager_completion_group;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_url_session_manager_completion_group = dispatch_group_create();
- });
-
- return af_url_session_manager_completion_group;
-}
-
-NSString * const AFNetworkingTaskDidResumeNotification = @"com.alamofire.networking.task.resume";
-NSString * const AFNetworkingTaskDidCompleteNotification = @"com.alamofire.networking.task.complete";
-NSString * const AFNetworkingTaskDidSuspendNotification = @"com.alamofire.networking.task.suspend";
-NSString * const AFURLSessionDidInvalidateNotification = @"com.alamofire.networking.session.invalidate";
-NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification = @"com.alamofire.networking.session.download.file-manager-error";
-
-NSString * const AFNetworkingTaskDidStartNotification = @"com.alamofire.networking.task.resume"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishNotification = @"com.alamofire.networking.task.complete"; // Deprecated
-
-NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey = @"com.alamofire.networking.task.complete.serializedresponse";
-NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey = @"com.alamofire.networking.task.complete.responseserializer";
-NSString * const AFNetworkingTaskDidCompleteResponseDataKey = @"com.alamofire.networking.complete.finish.responsedata";
-NSString * const AFNetworkingTaskDidCompleteErrorKey = @"com.alamofire.networking.task.complete.error";
-NSString * const AFNetworkingTaskDidCompleteAssetPathKey = @"com.alamofire.networking.task.complete.assetpath";
-
-NSString * const AFNetworkingTaskDidFinishSerializedResponseKey = @"com.alamofire.networking.task.complete.serializedresponse"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishResponseSerializerKey = @"com.alamofire.networking.task.complete.responseserializer"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishResponseDataKey = @"com.alamofire.networking.complete.finish.responsedata"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishErrorKey = @"com.alamofire.networking.task.complete.error"; // Deprecated
-NSString * const AFNetworkingTaskDidFinishAssetPathKey = @"com.alamofire.networking.task.complete.assetpath"; // Deprecated
-
-static NSString * const AFURLSessionManagerLockName = @"com.alamofire.networking.session.manager.lock";
-
-static NSUInteger const AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask = 3;
-
-static void * AFTaskStateChangedContext = &AFTaskStateChangedContext;
-
-typedef void (^AFURLSessionDidBecomeInvalidBlock)(NSURLSession *session, NSError *error);
-typedef NSURLSessionAuthChallengeDisposition (^AFURLSessionDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);
-
-typedef NSURLRequest * (^AFURLSessionTaskWillPerformHTTPRedirectionBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request);
-typedef NSURLSessionAuthChallengeDisposition (^AFURLSessionTaskDidReceiveAuthenticationChallengeBlock)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential);
-typedef void (^AFURLSessionDidFinishEventsForBackgroundURLSessionBlock)(NSURLSession *session);
-
-typedef NSInputStream * (^AFURLSessionTaskNeedNewBodyStreamBlock)(NSURLSession *session, NSURLSessionTask *task);
-typedef void (^AFURLSessionTaskDidSendBodyDataBlock)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend);
-typedef void (^AFURLSessionTaskDidCompleteBlock)(NSURLSession *session, NSURLSessionTask *task, NSError *error);
-
-typedef NSURLSessionResponseDisposition (^AFURLSessionDataTaskDidReceiveResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response);
-typedef void (^AFURLSessionDataTaskDidBecomeDownloadTaskBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask);
-typedef void (^AFURLSessionDataTaskDidReceiveDataBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data);
-typedef NSCachedURLResponse * (^AFURLSessionDataTaskWillCacheResponseBlock)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse);
-
-typedef NSURL * (^AFURLSessionDownloadTaskDidFinishDownloadingBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location);
-typedef void (^AFURLSessionDownloadTaskDidWriteDataBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite);
-typedef void (^AFURLSessionDownloadTaskDidResumeBlock)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes);
-
-typedef void (^AFURLSessionTaskCompletionHandler)(NSURLResponse *response, id responseObject, NSError *error);
-
-#pragma mark -
-
-@interface AFURLSessionManagerTaskDelegate : NSObject <NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate>
-@property (nonatomic, weak) AFURLSessionManager *manager;
-@property (nonatomic, strong) NSMutableData *mutableData;
-@property (nonatomic, strong) NSProgress *progress;
-@property (nonatomic, copy) NSURL *downloadFileURL;
-@property (nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;
-@property (nonatomic, copy) AFURLSessionTaskCompletionHandler completionHandler;
-@end
-
-@implementation AFURLSessionManagerTaskDelegate
-
-- (instancetype)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- self.mutableData = [NSMutableData data];
-
- self.progress = [NSProgress progressWithTotalUnitCount:0];
-
- return self;
-}
-
-#pragma mark - NSURLSessionTaskDelegate
-
-- (void)URLSession:(__unused NSURLSession *)session
- task:(__unused NSURLSessionTask *)task
- didSendBodyData:(__unused int64_t)bytesSent
- totalBytesSent:(int64_t)totalBytesSent
-totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend
-{
- self.progress.totalUnitCount = totalBytesExpectedToSend;
- self.progress.completedUnitCount = totalBytesSent;
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- task:(NSURLSessionTask *)task
-didCompleteWithError:(NSError *)error
-{
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- __strong AFURLSessionManager *manager = self.manager;
-
- __block id responseObject = nil;
-
- __block NSMutableDictionary *userInfo = [NSMutableDictionary dictionary];
- userInfo[AFNetworkingTaskDidCompleteResponseSerializerKey] = manager.responseSerializer;
-
- if (self.downloadFileURL) {
- userInfo[AFNetworkingTaskDidCompleteAssetPathKey] = self.downloadFileURL;
- } else if (self.mutableData) {
- userInfo[AFNetworkingTaskDidCompleteResponseDataKey] = [NSData dataWithData:self.mutableData];
- }
-
- if (error) {
- userInfo[AFNetworkingTaskDidCompleteErrorKey] = error;
-
- dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{
- if (self.completionHandler) {
- self.completionHandler(task.response, responseObject, error);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];
- });
- });
- } else {
- dispatch_async(url_session_manager_processing_queue(), ^{
- NSError *serializationError = nil;
- responseObject = [manager.responseSerializer responseObjectForResponse:task.response data:[NSData dataWithData:self.mutableData] error:&serializationError];
-
- if (self.downloadFileURL) {
- responseObject = self.downloadFileURL;
- }
-
- if (responseObject) {
- userInfo[AFNetworkingTaskDidCompleteSerializedResponseKey] = responseObject;
- }
-
- if (serializationError) {
- userInfo[AFNetworkingTaskDidCompleteErrorKey] = serializationError;
- }
-
- dispatch_group_async(manager.completionGroup ?: url_session_manager_completion_group(), manager.completionQueue ?: dispatch_get_main_queue(), ^{
- if (self.completionHandler) {
- self.completionHandler(task.response, responseObject, serializationError);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidCompleteNotification object:task userInfo:userInfo];
- });
- });
- });
- }
-#pragma clang diagnostic pop
-}
-
-#pragma mark - NSURLSessionDataTaskDelegate
-
-- (void)URLSession:(__unused NSURLSession *)session
- dataTask:(__unused NSURLSessionDataTask *)dataTask
- didReceiveData:(NSData *)data
-{
- [self.mutableData appendData:data];
-}
-
-#pragma mark - NSURLSessionDownloadTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
-didFinishDownloadingToURL:(NSURL *)location
-{
- NSError *fileManagerError = nil;
- self.downloadFileURL = nil;
-
- if (self.downloadTaskDidFinishDownloading) {
- self.downloadFileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);
- if (self.downloadFileURL) {
- [[NSFileManager defaultManager] moveItemAtURL:location toURL:self.downloadFileURL error:&fileManagerError];
-
- if (fileManagerError) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:fileManagerError.userInfo];
- }
- }
- }
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- downloadTask:(__unused NSURLSessionDownloadTask *)downloadTask
- didWriteData:(__unused int64_t)bytesWritten
- totalBytesWritten:(int64_t)totalBytesWritten
-totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite
-{
- self.progress.totalUnitCount = totalBytesExpectedToWrite;
- self.progress.completedUnitCount = totalBytesWritten;
-}
-
-- (void)URLSession:(__unused NSURLSession *)session
- downloadTask:(__unused NSURLSessionDownloadTask *)downloadTask
- didResumeAtOffset:(int64_t)fileOffset
-expectedTotalBytes:(int64_t)expectedTotalBytes {
- self.progress.totalUnitCount = expectedTotalBytes;
- self.progress.completedUnitCount = fileOffset;
-}
-
-@end
-
-#pragma mark -
-
-/*
- A workaround for issues related to key-value observing the `state` of an `NSURLSessionTask`.
-
- See https://github.com/AFNetworking/AFNetworking/issues/1477
- */
-
-static inline void af_swizzleSelector(Class class, SEL originalSelector, SEL swizzledSelector) {
- Method originalMethod = class_getInstanceMethod(class, originalSelector);
- Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);
- if (class_addMethod(class, originalSelector, method_getImplementation(swizzledMethod), method_getTypeEncoding(swizzledMethod))) {
- class_replaceMethod(class, swizzledSelector, method_getImplementation(originalMethod), method_getTypeEncoding(originalMethod));
- } else {
- method_exchangeImplementations(originalMethod, swizzledMethod);
- }
-}
-
-static NSString * const AFNSURLSessionTaskDidResumeNotification = @"com.alamofire.networking.nsurlsessiontask.resume";
-static NSString * const AFNSURLSessionTaskDidSuspendNotification = @"com.alamofire.networking.nsurlsessiontask.suspend";
-
-@interface NSURLSessionTask (_AFStateObserving)
-@end
-
-@implementation NSURLSessionTask (_AFStateObserving)
-
-+ (void)load {
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- af_swizzleSelector([self class], @selector(resume), @selector(af_resume));
- af_swizzleSelector([self class], @selector(suspend), @selector(af_suspend));
- });
-}
-
-#pragma mark -
-
-- (void)af_resume {
- NSURLSessionTaskState state = self.state;
- [self af_resume];
-
- if (state != NSURLSessionTaskStateRunning) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidResumeNotification object:self];
- }
-}
-
-- (void)af_suspend {
- NSURLSessionTaskState state = self.state;
- [self af_suspend];
-
- if (state != NSURLSessionTaskStateSuspended) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNSURLSessionTaskDidSuspendNotification object:self];
- }
-}
-
-@end
-
-#pragma mark -
-
-@interface AFURLSessionManager ()
-@property (readwrite, nonatomic, strong) NSURLSessionConfiguration *sessionConfiguration;
-@property (readwrite, nonatomic, strong) NSOperationQueue *operationQueue;
-@property (readwrite, nonatomic, strong) NSURLSession *session;
-@property (readwrite, nonatomic, strong) NSMutableDictionary *mutableTaskDelegatesKeyedByTaskIdentifier;
-@property (readwrite, nonatomic, strong) NSLock *lock;
-@property (readwrite, nonatomic, copy) AFURLSessionDidBecomeInvalidBlock sessionDidBecomeInvalid;
-@property (readwrite, nonatomic, copy) AFURLSessionDidReceiveAuthenticationChallengeBlock sessionDidReceiveAuthenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLSessionDidFinishEventsForBackgroundURLSessionBlock didFinishEventsForBackgroundURLSession;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskWillPerformHTTPRedirectionBlock taskWillPerformHTTPRedirection;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidReceiveAuthenticationChallengeBlock taskDidReceiveAuthenticationChallenge;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskNeedNewBodyStreamBlock taskNeedNewBodyStream;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidSendBodyDataBlock taskDidSendBodyData;
-@property (readwrite, nonatomic, copy) AFURLSessionTaskDidCompleteBlock taskDidComplete;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveResponseBlock dataTaskDidReceiveResponse;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidBecomeDownloadTaskBlock dataTaskDidBecomeDownloadTask;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskDidReceiveDataBlock dataTaskDidReceiveData;
-@property (readwrite, nonatomic, copy) AFURLSessionDataTaskWillCacheResponseBlock dataTaskWillCacheResponse;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidFinishDownloadingBlock downloadTaskDidFinishDownloading;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidWriteDataBlock downloadTaskDidWriteData;
-@property (readwrite, nonatomic, copy) AFURLSessionDownloadTaskDidResumeBlock downloadTaskDidResume;
-@end
-
-@implementation AFURLSessionManager
-
-- (instancetype)init {
- return [self initWithSessionConfiguration:nil];
-}
-
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- if (!configuration) {
- configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
- }
-
- self.sessionConfiguration = configuration;
-
- self.operationQueue = [[NSOperationQueue alloc] init];
- self.operationQueue.maxConcurrentOperationCount = 1;
-
- self.session = [NSURLSession sessionWithConfiguration:self.sessionConfiguration delegate:self delegateQueue:self.operationQueue];
-
- self.responseSerializer = [AFJSONResponseSerializer serializer];
-
- self.securityPolicy = [AFSecurityPolicy defaultPolicy];
-
- self.reachabilityManager = [AFNetworkReachabilityManager sharedManager];
-
- self.mutableTaskDelegatesKeyedByTaskIdentifier = [[NSMutableDictionary alloc] init];
-
- self.lock = [[NSLock alloc] init];
- self.lock.name = AFURLSessionManagerLockName;
-
- [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {
- for (NSURLSessionDataTask *task in dataTasks) {
- [self addDelegateForDataTask:task completionHandler:nil];
- }
-
- for (NSURLSessionUploadTask *uploadTask in uploadTasks) {
- [self addDelegateForUploadTask:uploadTask progress:nil completionHandler:nil];
- }
-
- for (NSURLSessionDownloadTask *downloadTask in downloadTasks) {
- [self addDelegateForDownloadTask:downloadTask progress:nil destination:nil completionHandler:nil];
- }
- }];
-
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidResume:) name:AFNSURLSessionTaskDidResumeNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(taskDidSuspend:) name:AFNSURLSessionTaskDidSuspendNotification object:nil];
-
- return self;
-}
-
-- (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-}
-
-- (void)taskDidResume:(NSNotification *)notification {
- NSURLSessionTask *task = notification.object;
- if ([task isKindOfClass:[NSURLSessionTask class]]) {
- AFURLSessionManager *manager = [self delegateForTask:task].manager;
- if ([manager isEqual:self]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidResumeNotification object:task];
- });
- }
- }
-}
-
-- (void)taskDidSuspend:(NSNotification *)notification {
- NSURLSessionTask *task = notification.object;
- if ([task isKindOfClass:[NSURLSessionTask class]]) {
- AFURLSessionManager *manager = [self delegateForTask:task].manager;
- if ([manager isEqual:self]) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:AFNetworkingTaskDidSuspendNotification object:task];
- });
- }
- }
-}
-
-#pragma mark -
-
-- (AFURLSessionManagerTaskDelegate *)delegateForTask:(NSURLSessionTask *)task {
- NSParameterAssert(task);
-
- AFURLSessionManagerTaskDelegate *delegate = nil;
- [self.lock lock];
- delegate = self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)];
- [self.lock unlock];
-
- return delegate;
-}
-
-- (void)setDelegate:(AFURLSessionManagerTaskDelegate *)delegate
- forTask:(NSURLSessionTask *)task
-{
- NSParameterAssert(task);
- NSParameterAssert(delegate);
-
- [self.lock lock];
- self.mutableTaskDelegatesKeyedByTaskIdentifier[@(task.taskIdentifier)] = delegate;
- [self.lock unlock];
-}
-
-- (void)addDelegateForDataTask:(NSURLSessionDataTask *)dataTask
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- [self setDelegate:delegate forTask:dataTask];
-}
-
-- (void)addDelegateForUploadTask:(NSURLSessionUploadTask *)uploadTask
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- int64_t totalUnitCount = uploadTask.countOfBytesExpectedToSend;
- if(totalUnitCount == NSURLSessionTransferSizeUnknown) {
- NSString *contentLength = [uploadTask.originalRequest valueForHTTPHeaderField:@"Content-Length"];
- if(contentLength) {
- totalUnitCount = (int64_t) [contentLength longLongValue];
- }
- }
-
- delegate.progress = [NSProgress progressWithTotalUnitCount:totalUnitCount];
- delegate.progress.pausingHandler = ^{
- [uploadTask suspend];
- };
- delegate.progress.cancellationHandler = ^{
- [uploadTask cancel];
- };
-
- if (progress) {
- *progress = delegate.progress;
- }
-
- [self setDelegate:delegate forTask:uploadTask];
-}
-
-- (void)addDelegateForDownloadTask:(NSURLSessionDownloadTask *)downloadTask
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- AFURLSessionManagerTaskDelegate *delegate = [[AFURLSessionManagerTaskDelegate alloc] init];
- delegate.manager = self;
- delegate.completionHandler = completionHandler;
-
- if (destination) {
- delegate.downloadTaskDidFinishDownloading = ^NSURL * (NSURLSession * __unused session, NSURLSessionDownloadTask *task, NSURL *location) {
- return destination(location, task.response);
- };
- }
-
- if (progress) {
- *progress = delegate.progress;
- }
-
- [self setDelegate:delegate forTask:downloadTask];
-}
-
-- (void)removeDelegateForTask:(NSURLSessionTask *)task {
- NSParameterAssert(task);
-
- [self.lock lock];
- [self.mutableTaskDelegatesKeyedByTaskIdentifier removeObjectForKey:@(task.taskIdentifier)];
- [self.lock unlock];
-}
-
-- (void)removeAllDelegates {
- [self.lock lock];
- [self.mutableTaskDelegatesKeyedByTaskIdentifier removeAllObjects];
- [self.lock unlock];
-}
-
-#pragma mark -
-
-- (NSArray *)tasksForKeyPath:(NSString *)keyPath {
- __block NSArray *tasks = nil;
- dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
- [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(dataTasks))]) {
- tasks = dataTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(uploadTasks))]) {
- tasks = uploadTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(downloadTasks))]) {
- tasks = downloadTasks;
- } else if ([keyPath isEqualToString:NSStringFromSelector(@selector(tasks))]) {
- tasks = [@[dataTasks, uploadTasks, downloadTasks] valueForKeyPath:@"@unionOfArrays.self"];
- }
-
- dispatch_semaphore_signal(semaphore);
- }];
-
- dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
-
- return tasks;
-}
-
-- (NSArray *)tasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)dataTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)uploadTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-- (NSArray *)downloadTasks {
- return [self tasksForKeyPath:NSStringFromSelector(_cmd)];
-}
-
-#pragma mark -
-
-- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks {
- dispatch_async(dispatch_get_main_queue(), ^{
- if (cancelPendingTasks) {
- [self.session invalidateAndCancel];
- } else {
- [self.session finishTasksAndInvalidate];
- }
- });
-}
-
-#pragma mark -
-
-- (void)setResponseSerializer:(id <AFURLResponseSerialization>)responseSerializer {
- NSParameterAssert(responseSerializer);
-
- _responseSerializer = responseSerializer;
-}
-
-#pragma mark -
-
-- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionDataTask *dataTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- dataTask = [self.session dataTaskWithRequest:request];
- });
-
- [self addDelegateForDataTask:dataTask completionHandler:completionHandler];
-
- return dataTask;
-}
-
-#pragma mark -
-
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromFile:(NSURL *)fileURL
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];
- });
-
- if (!uploadTask && self.attemptsToRecreateUploadTasksForBackgroundSessions && self.session.configuration.identifier) {
- for (NSUInteger attempts = 0; !uploadTask && attempts < AFMaximumNumberOfAttemptsToRecreateBackgroundSessionUploadTask; attempts++) {
- uploadTask = [self.session uploadTaskWithRequest:request fromFile:fileURL];
- }
- }
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
- fromData:(NSData *)bodyData
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithRequest:request fromData:bodyData];
- });
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- completionHandler:(void (^)(NSURLResponse *response, id responseObject, NSError *error))completionHandler
-{
- __block NSURLSessionUploadTask *uploadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- uploadTask = [self.session uploadTaskWithStreamedRequest:request];
- });
-
- [self addDelegateForUploadTask:uploadTask progress:progress completionHandler:completionHandler];
-
- return uploadTask;
-}
-
-#pragma mark -
-
-- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- __block NSURLSessionDownloadTask *downloadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- downloadTask = [self.session downloadTaskWithRequest:request];
- });
-
- [self addDelegateForDownloadTask:downloadTask progress:progress destination:destination completionHandler:completionHandler];
-
- return downloadTask;
-}
-
-- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData
- progress:(NSProgress * __autoreleasing *)progress
- destination:(NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
- completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler
-{
- __block NSURLSessionDownloadTask *downloadTask = nil;
- dispatch_sync(url_session_manager_creation_queue(), ^{
- downloadTask = [self.session downloadTaskWithResumeData:resumeData];
- });
-
- [self addDelegateForDownloadTask:downloadTask progress:progress destination:destination completionHandler:completionHandler];
-
- return downloadTask;
-}
-
-#pragma mark -
-
-- (NSProgress *)uploadProgressForTask:(NSURLSessionUploadTask *)uploadTask {
- return [[self delegateForTask:uploadTask] progress];
-}
-
-- (NSProgress *)downloadProgressForTask:(NSURLSessionDownloadTask *)downloadTask {
- return [[self delegateForTask:downloadTask] progress];
-}
-
-#pragma mark -
-
-- (void)setSessionDidBecomeInvalidBlock:(void (^)(NSURLSession *session, NSError *error))block {
- self.sessionDidBecomeInvalid = block;
-}
-
-- (void)setSessionDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {
- self.sessionDidReceiveAuthenticationChallenge = block;
-}
-
-- (void)setDidFinishEventsForBackgroundURLSessionBlock:(void (^)(NSURLSession *session))block {
- self.didFinishEventsForBackgroundURLSession = block;
-}
-
-#pragma mark -
-
-- (void)setTaskNeedNewBodyStreamBlock:(NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block {
- self.taskNeedNewBodyStream = block;
-}
-
-- (void)setTaskWillPerformHTTPRedirectionBlock:(NSURLRequest * (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block {
- self.taskWillPerformHTTPRedirection = block;
-}
-
-- (void)setTaskDidReceiveAuthenticationChallengeBlock:(NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, NSURLCredential * __autoreleasing *credential))block {
- self.taskDidReceiveAuthenticationChallenge = block;
-}
-
-- (void)setTaskDidSendBodyDataBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block {
- self.taskDidSendBodyData = block;
-}
-
-- (void)setTaskDidCompleteBlock:(void (^)(NSURLSession *session, NSURLSessionTask *task, NSError *error))block {
- self.taskDidComplete = block;
-}
-
-#pragma mark -
-
-- (void)setDataTaskDidReceiveResponseBlock:(NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block {
- self.dataTaskDidReceiveResponse = block;
-}
-
-- (void)setDataTaskDidBecomeDownloadTaskBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block {
- self.dataTaskDidBecomeDownloadTask = block;
-}
-
-- (void)setDataTaskDidReceiveDataBlock:(void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block {
- self.dataTaskDidReceiveData = block;
-}
-
-- (void)setDataTaskWillCacheResponseBlock:(NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block {
- self.dataTaskWillCacheResponse = block;
-}
-
-#pragma mark -
-
-- (void)setDownloadTaskDidFinishDownloadingBlock:(NSURL * (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block {
- self.downloadTaskDidFinishDownloading = block;
-}
-
-- (void)setDownloadTaskDidWriteDataBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block {
- self.downloadTaskDidWriteData = block;
-}
-
-- (void)setDownloadTaskDidResumeBlock:(void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block {
- self.downloadTaskDidResume = block;
-}
-
-#pragma mark - NSObject
-
-- (NSString *)description {
- return [NSString stringWithFormat:@"<%@: %p, session: %@, operationQueue: %@>", NSStringFromClass([self class]), self, self.session, self.operationQueue];
-}
-
-- (BOOL)respondsToSelector:(SEL)selector {
- if (selector == @selector(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)) {
- return self.taskWillPerformHTTPRedirection != nil;
- } else if (selector == @selector(URLSession:dataTask:didReceiveResponse:completionHandler:)) {
- return self.dataTaskDidReceiveResponse != nil;
- } else if (selector == @selector(URLSession:dataTask:willCacheResponse:completionHandler:)) {
- return self.dataTaskWillCacheResponse != nil;
- } else if (selector == @selector(URLSessionDidFinishEventsForBackgroundURLSession:)) {
- return self.didFinishEventsForBackgroundURLSession != nil;
- }
-
- return [[self class] instancesRespondToSelector:selector];
-}
-
-#pragma mark - NSURLSessionDelegate
-
-- (void)URLSession:(NSURLSession *)session
-didBecomeInvalidWithError:(NSError *)error
-{
- if (self.sessionDidBecomeInvalid) {
- self.sessionDidBecomeInvalid(session, error);
- }
-
- [self removeAllDelegates];
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDidInvalidateNotification object:session];
-}
-
-- (void)URLSession:(NSURLSession *)session
-didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge
- completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler
-{
- NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- __block NSURLCredential *credential = nil;
-
- if (self.sessionDidReceiveAuthenticationChallenge) {
- disposition = self.sessionDidReceiveAuthenticationChallenge(session, challenge, &credential);
- } else {
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- if (credential) {
- disposition = NSURLSessionAuthChallengeUseCredential;
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- }
-
- if (completionHandler) {
- completionHandler(disposition, credential);
- }
-}
-
-#pragma mark - NSURLSessionTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-willPerformHTTPRedirection:(NSHTTPURLResponse *)response
- newRequest:(NSURLRequest *)request
- completionHandler:(void (^)(NSURLRequest *))completionHandler
-{
- NSURLRequest *redirectRequest = request;
-
- if (self.taskWillPerformHTTPRedirection) {
- redirectRequest = self.taskWillPerformHTTPRedirection(session, task, response, request);
- }
-
- if (completionHandler) {
- completionHandler(redirectRequest);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge
- completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler
-{
- NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- __block NSURLCredential *credential = nil;
-
- if (self.taskDidReceiveAuthenticationChallenge) {
- disposition = self.taskDidReceiveAuthenticationChallenge(session, task, challenge, &credential);
- } else {
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if ([self.securityPolicy evaluateServerTrust:challenge.protectionSpace.serverTrust forDomain:challenge.protectionSpace.host]) {
- disposition = NSURLSessionAuthChallengeUseCredential;
- credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- } else {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- }
- }
-
- if (completionHandler) {
- completionHandler(disposition, credential);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
- needNewBodyStream:(void (^)(NSInputStream *bodyStream))completionHandler
-{
- NSInputStream *inputStream = nil;
-
- if (self.taskNeedNewBodyStream) {
- inputStream = self.taskNeedNewBodyStream(session, task);
- } else if (task.originalRequest.HTTPBodyStream && [task.originalRequest.HTTPBodyStream conformsToProtocol:@protocol(NSCopying)]) {
- inputStream = [task.originalRequest.HTTPBodyStream copy];
- }
-
- if (completionHandler) {
- completionHandler(inputStream);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
- didSendBodyData:(int64_t)bytesSent
- totalBytesSent:(int64_t)totalBytesSent
-totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend
-{
-
- int64_t totalUnitCount = totalBytesExpectedToSend;
- if(totalUnitCount == NSURLSessionTransferSizeUnknown) {
- NSString *contentLength = [task.originalRequest valueForHTTPHeaderField:@"Content-Length"];
- if(contentLength) {
- totalUnitCount = (int64_t) [contentLength longLongValue];
- }
- }
-
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];
- [delegate URLSession:session task:task didSendBodyData:bytesSent totalBytesSent:totalBytesSent totalBytesExpectedToSend:totalUnitCount];
-
- if (self.taskDidSendBodyData) {
- self.taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalUnitCount);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- task:(NSURLSessionTask *)task
-didCompleteWithError:(NSError *)error
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:task];
-
- // delegate may be nil when completing a task in the background
- if (delegate) {
- [delegate URLSession:session task:task didCompleteWithError:error];
-
- [self removeDelegateForTask:task];
- }
-
- if (self.taskDidComplete) {
- self.taskDidComplete(session, task, error);
- }
-
-}
-
-#pragma mark - NSURLSessionDataDelegate
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didReceiveResponse:(NSURLResponse *)response
- completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler
-{
- NSURLSessionResponseDisposition disposition = NSURLSessionResponseAllow;
-
- if (self.dataTaskDidReceiveResponse) {
- disposition = self.dataTaskDidReceiveResponse(session, dataTask, response);
- }
-
- if (completionHandler) {
- completionHandler(disposition);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didBecomeDownloadTask:(NSURLSessionDownloadTask *)downloadTask
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];
- if (delegate) {
- [self removeDelegateForTask:dataTask];
- [self setDelegate:delegate forTask:downloadTask];
- }
-
- if (self.dataTaskDidBecomeDownloadTask) {
- self.dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- didReceiveData:(NSData *)data
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:dataTask];
- [delegate URLSession:session dataTask:dataTask didReceiveData:data];
-
- if (self.dataTaskDidReceiveData) {
- self.dataTaskDidReceiveData(session, dataTask, data);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- willCacheResponse:(NSCachedURLResponse *)proposedResponse
- completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler
-{
- NSCachedURLResponse *cachedResponse = proposedResponse;
-
- if (self.dataTaskWillCacheResponse) {
- cachedResponse = self.dataTaskWillCacheResponse(session, dataTask, proposedResponse);
- }
-
- if (completionHandler) {
- completionHandler(cachedResponse);
- }
-}
-
-- (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession *)session {
- if (self.didFinishEventsForBackgroundURLSession) {
- dispatch_async(dispatch_get_main_queue(), ^{
- self.didFinishEventsForBackgroundURLSession(session);
- });
- }
-}
-
-#pragma mark - NSURLSessionDownloadDelegate
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
-didFinishDownloadingToURL:(NSURL *)location
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- if (self.downloadTaskDidFinishDownloading) {
- NSURL *fileURL = self.downloadTaskDidFinishDownloading(session, downloadTask, location);
- if (fileURL) {
- delegate.downloadFileURL = fileURL;
- NSError *error = nil;
- [[NSFileManager defaultManager] moveItemAtURL:location toURL:fileURL error:&error];
- if (error) {
- [[NSNotificationCenter defaultCenter] postNotificationName:AFURLSessionDownloadTaskDidFailToMoveFileNotification object:downloadTask userInfo:error.userInfo];
- }
-
- return;
- }
- }
-
- if (delegate) {
- [delegate URLSession:session downloadTask:downloadTask didFinishDownloadingToURL:location];
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
- didWriteData:(int64_t)bytesWritten
- totalBytesWritten:(int64_t)totalBytesWritten
-totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- [delegate URLSession:session downloadTask:downloadTask didWriteData:bytesWritten totalBytesWritten:totalBytesWritten totalBytesExpectedToWrite:totalBytesExpectedToWrite];
-
- if (self.downloadTaskDidWriteData) {
- self.downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- downloadTask:(NSURLSessionDownloadTask *)downloadTask
- didResumeAtOffset:(int64_t)fileOffset
-expectedTotalBytes:(int64_t)expectedTotalBytes
-{
- AFURLSessionManagerTaskDelegate *delegate = [self delegateForTask:downloadTask];
- [delegate URLSession:session downloadTask:downloadTask didResumeAtOffset:fileOffset expectedTotalBytes:expectedTotalBytes];
-
- if (self.downloadTaskDidResume) {
- self.downloadTaskDidResume(session, downloadTask, fileOffset, expectedTotalBytes);
- }
-}
-
-#pragma mark - NSSecureCoding
-
-+ (BOOL)supportsSecureCoding {
- return YES;
-}
-
-- (id)initWithCoder:(NSCoder *)decoder {
- NSURLSessionConfiguration *configuration = [decoder decodeObjectOfClass:[NSURLSessionConfiguration class] forKey:@"sessionConfiguration"];
-
- self = [self initWithSessionConfiguration:configuration];
- if (!self) {
- return nil;
- }
-
- return self;
-}
-
-- (void)encodeWithCoder:(NSCoder *)coder {
- [coder encodeObject:self.session.configuration forKey:@"sessionConfiguration"];
-}
-
-#pragma mark - NSCopying
-
-- (id)copyWithZone:(NSZone *)zone {
- return [[[self class] allocWithZone:zone] initWithSessionConfiguration:self.session.configuration];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE
deleted file mode 100644
index 0616192d00..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-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.
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md
deleted file mode 100644
index 13e080c096..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/README.md
+++ /dev/null
@@ -1,383 +0,0 @@
-<p align="center" >
- <img src="https://raw.github.com/AFNetworking/AFNetworking/assets/afnetworking-logo.png" alt="AFNetworking" title="AFNetworking">
-</p>
-
-[![Build Status](https://travis-ci.org/AFNetworking/AFNetworking.svg)](https://travis-ci.org/AFNetworking/AFNetworking)
-
-AFNetworking is a delightful networking library for iOS and Mac OS X. It's built on top of the [Foundation URL Loading System](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html), extending the powerful high-level networking abstractions built into Cocoa. It has a modular architecture with well-designed, feature-rich APIs that are a joy to use.
-
-Perhaps the most important feature of all, however, is the amazing community of developers who use and contribute to AFNetworking every day. AFNetworking powers some of the most popular and critically-acclaimed apps on the iPhone, iPad, and Mac.
-
-Choose AFNetworking for your next project, or migrate over your existing projects—you'll be happy you did!
-
-## How To Get Started
-
-- [Download AFNetworking](https://github.com/AFNetworking/AFNetworking/archive/master.zip) and try out the included Mac and iPhone example apps
-- Read the ["Getting Started" guide](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking), [FAQ](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-FAQ), or [other articles on the Wiki](https://github.com/AFNetworking/AFNetworking/wiki)
-- Check out the [documentation](http://cocoadocs.org/docsets/AFNetworking/) for a comprehensive look at all of the APIs available in AFNetworking
-- Read the [AFNetworking 2.0 Migration Guide](https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-2.0-Migration-Guide) for an overview of the architectural changes from 1.0.
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking). (Tag 'afnetworking')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/afnetworking).
-- If you **found a bug**, _and can provide steps to reliably reproduce it_, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-### Installation with CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the ["Getting Started" guide for more information](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking).
-
-#### Podfile
-
-```ruby
-platform :ios, '7.0'
-pod "AFNetworking", "~> 2.0"
-```
-
-## Requirements
-
-| AFNetworking Version | Minimum iOS Target | Minimum OS X Target | Notes |
-|:--------------------:|:---------------------------:|:----------------------------:|:-------------------------------------------------------------------------:|
-| 2.x | iOS 6 | OS X 10.8 | Xcode 5 is required. `AFHTTPSessionManager` requires iOS 7 or OS X 10.9. |
-| [1.x](https://github.com/AFNetworking/AFNetworking/tree/1.x) | iOS 5 | Mac OS X 10.7 | |
-| [0.10.x](https://github.com/AFNetworking/AFNetworking/tree/0.10.x) | iOS 4 | Mac OS X 10.6 | |
-
-(OS X projects must support [64-bit with modern Cocoa runtime](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtVersionsPlatforms.html)).
-
-## Architecture
-
-### NSURLConnection
-
-- `AFURLConnectionOperation`
-- `AFHTTPRequestOperation`
-- `AFHTTPRequestOperationManager`
-
-### NSURLSession _(iOS 7 / Mac OS X 10.9)_
-
-- `AFURLSessionManager`
-- `AFHTTPSessionManager`
-
-### Serialization
-
-* `<AFURLRequestSerialization>`
- - `AFHTTPRequestSerializer`
- - `AFJSONRequestSerializer`
- - `AFPropertyListRequestSerializer`
-* `<AFURLResponseSerialization>`
- - `AFHTTPResponseSerializer`
- - `AFJSONResponseSerializer`
- - `AFXMLParserResponseSerializer`
- - `AFXMLDocumentResponseSerializer` _(Mac OS X)_
- - `AFPropertyListResponseSerializer`
- - `AFImageResponseSerializer`
- - `AFCompoundResponseSerializer`
-
-### Additional Functionality
-
-- `AFSecurityPolicy`
-- `AFNetworkReachabilityManager`
-
-## Usage
-
-### HTTP Request Operation Manager
-
-`AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with a web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as request operation management.
-
-#### `GET` Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-[manager GET:@"http://example.com/resources.json" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
-#### `POST` URL-Form-Encoded Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-NSDictionary *parameters = @{@"foo": @"bar"};
-[manager POST:@"http://example.com/resources.json" parameters:parameters success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
-#### `POST` Multi-Part Request
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-NSDictionary *parameters = @{@"foo": @"bar"};
-NSURL *filePath = [NSURL fileURLWithPath:@"file://path/to/image.png"];
-[manager POST:@"http://example.com/resources.json" parameters:parameters constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:filePath name:@"image" error:nil];
-} success:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"Success: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-```
-
----
-
-### AFURLSessionManager
-
-`AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
-#### Creating a Download Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/download.zip"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDownloadTask *downloadTask = [manager downloadTaskWithRequest:request progress:nil destination:^NSURL *(NSURL *targetPath, NSURLResponse *response) {
- NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil];
- return [documentsDirectoryURL URLByAppendingPathComponent:[response suggestedFilename]];
-} completionHandler:^(NSURLResponse *response, NSURL *filePath, NSError *error) {
- NSLog(@"File downloaded to: %@", filePath);
-}];
-[downloadTask resume];
-```
-
-#### Creating an Upload Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/upload"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURL *filePath = [NSURL fileURLWithPath:@"file://path/to/image.png"];
-NSURLSessionUploadTask *uploadTask = [manager uploadTaskWithRequest:request fromFile:filePath progress:nil completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"Success: %@ %@", response, responseObject);
- }
-}];
-[uploadTask resume];
-```
-
-#### Creating an Upload Task for a Multi-Part Request, with Progress
-
-```objective-c
-NSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:@"http://example.com/upload" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:[NSURL fileURLWithPath:@"file://path/to/image.jpg"] name:@"file" fileName:@"filename.jpg" mimeType:@"image/jpeg" error:nil];
- } error:nil];
-
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
-NSProgress *progress = nil;
-
-NSURLSessionUploadTask *uploadTask = [manager uploadTaskWithStreamedRequest:request progress:&progress completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"%@ %@", response, responseObject);
- }
-}];
-
-[uploadTask resume];
-```
-
-#### Creating a Data Task
-
-```objective-c
-NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
-AFURLSessionManager *manager = [[AFURLSessionManager alloc] initWithSessionConfiguration:configuration];
-
-NSURL *URL = [NSURL URLWithString:@"http://example.com/upload"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-
-NSURLSessionDataTask *dataTask = [manager dataTaskWithRequest:request completionHandler:^(NSURLResponse *response, id responseObject, NSError *error) {
- if (error) {
- NSLog(@"Error: %@", error);
- } else {
- NSLog(@"%@ %@", response, responseObject);
- }
-}];
-[dataTask resume];
-```
-
----
-
-### Request Serialization
-
-Request serializers create requests from URL strings, encoding parameters as either a query string or HTTP body.
-
-```objective-c
-NSString *URLString = @"http://example.com";
-NSDictionary *parameters = @{@"foo": @"bar", @"baz": @[@1, @2, @3]};
-```
-
-#### Query String Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"GET" URLString:URLString parameters:parameters error:nil];
-```
-
- GET http://example.com?foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### URL Form Parameter Encoding
-
-```objective-c
-[[AFHTTPRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters];
-```
-
- POST http://example.com/
- Content-Type: application/x-www-form-urlencoded
-
- foo=bar&baz[]=1&baz[]=2&baz[]=3
-
-#### JSON Parameter Encoding
-
-```objective-c
-[[AFJSONRequestSerializer serializer] requestWithMethod:@"POST" URLString:URLString parameters:parameters];
-```
-
- POST http://example.com/
- Content-Type: application/json
-
- {"foo": "bar", "baz": [1,2,3]}
-
----
-
-### Network Reachability Manager
-
-`AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
-#### Shared Network Reachability
-
-```objective-c
-[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
- NSLog(@"Reachability: %@", AFStringFromNetworkReachabilityStatus(status));
-}];
-```
-
-#### HTTP Manager Reachability
-
-```objective-c
-NSURL *baseURL = [NSURL URLWithString:@"http://example.com/"];
-AFHTTPRequestOperationManager *manager = [[AFHTTPRequestOperationManager alloc] initWithBaseURL:baseURL];
-
-NSOperationQueue *operationQueue = manager.operationQueue;
-[manager.reachabilityManager setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
- switch (status) {
- case AFNetworkReachabilityStatusReachableViaWWAN:
- case AFNetworkReachabilityStatusReachableViaWiFi:
- [operationQueue setSuspended:NO];
- break;
- case AFNetworkReachabilityStatusNotReachable:
- default:
- [operationQueue setSuspended:YES];
- break;
- }
-}];
-
-[manager.reachabilityManager startMonitoring];
-```
-
----
-
-### Security Policy
-
-`AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
-Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
-
-#### Allowing Invalid SSL Certificates
-
-```objective-c
-AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
-manager.securityPolicy.allowInvalidCertificates = YES; // not recommended for production
-```
-
----
-
-### AFHTTPRequestOperation
-
-`AFHTTPRequestOperation` is a subclass of `AFURLConnectionOperation` for requests using the HTTP or HTTPS protocols. It encapsulates the concept of acceptable status codes and content types, which determine the success or failure of a request.
-
-Although `AFHTTPRequestOperationManager` is usually the best way to go about making requests, `AFHTTPRequestOperation` can be used by itself.
-
-#### `GET` with `AFHTTPRequestOperation`
-
-```objective-c
-NSURL *URL = [NSURL URLWithString:@"http://example.com/resources/123.json"];
-NSURLRequest *request = [NSURLRequest requestWithURL:URL];
-AFHTTPRequestOperation *op = [[AFHTTPRequestOperation alloc] initWithRequest:request];
-op.responseSerializer = [AFJSONResponseSerializer serializer];
-[op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- NSLog(@"JSON: %@", responseObject);
-} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- NSLog(@"Error: %@", error);
-}];
-[[NSOperationQueue mainQueue] addOperation:op];
-```
-
-#### Batch of Operations
-
-```objective-c
-NSMutableArray *mutableOperations = [NSMutableArray array];
-for (NSURL *fileURL in filesToUpload) {
- NSURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:@"http://example.com/upload" parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
- [formData appendPartWithFileURL:fileURL name:@"images[]" error:nil];
- }];
-
- AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
-
- [mutableOperations addObject:operation];
-}
-
-NSArray *operations = [AFURLConnectionOperation batchOfRequestOperations:@[...] progressBlock:^(NSUInteger numberOfFinishedOperations, NSUInteger totalNumberOfOperations) {
- NSLog(@"%lu of %lu complete", numberOfFinishedOperations, totalNumberOfOperations);
-} completionBlock:^(NSArray *operations) {
- NSLog(@"All operations in batch complete");
-}];
-[[NSOperationQueue mainQueue] addOperations:operations waitUntilFinished:NO];
-```
-
-## Unit Tests
-
-AFNetworking includes a suite of unit tests within the Tests subdirectory. In order to run the unit tests, you must install the testing dependencies via [CocoaPods](http://cocoapods.org/):
-
- $ cd Tests
- $ pod install
-
-Once testing dependencies are installed, you can execute the test suite via the 'iOS Tests' and 'OS X Tests' schemes within Xcode.
-
-### Running Tests from the Command Line
-
-Tests can also be run from the command line or within a continuous integration environment. The [`xcpretty`](https://github.com/mneorr/xcpretty) utility needs to be installed before running the tests from the command line:
-
- $ gem install xcpretty
-
-Once `xcpretty` is installed, you can execute the suite via `rake test`.
-
-## Credits
-
-AFNetworking was originally created by [Scott Raymond](https://github.com/sco/) and [Mattt Thompson](https://github.com/mattt/) in the development of [Gowalla for iPhone](http://en.wikipedia.org/wiki/Gowalla).
-
-AFNetworking's logo was designed by [Alan Defibaugh](http://www.alandefibaugh.com/).
-
-And most of all, thanks to AFNetworking's [growing list of contributors](https://github.com/AFNetworking/AFNetworking/contributors).
-
-## Contact
-
-Follow AFNetworking on Twitter ([@AFNetworking](https://twitter.com/AFNetworking))
-
-### Maintainers
-
-- [Mattt Thompson](http://github.com/mattt) ([@mattt](https://twitter.com/mattt))
-
-## License
-
-AFNetworking is available under the MIT license. See the LICENSE file for more info.
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 100644
index 312d680e0d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// AFNetworkActivityIndicatorManager.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-/**
- `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a network request operation has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero.
-
- You should enable the shared instance of `AFNetworkActivityIndicatorManager` when your application finishes launching. In `AppDelegate application:didFinishLaunchingWithOptions:` you can do so with the following code:
-
- [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
-
- By setting `isNetworkActivityIndicatorVisible` to `YES` for `sharedManager`, the network activity indicator will show and hide automatically as requests start and finish. You should not ever need to call `incrementActivityCount` or `decrementActivityCount` yourself.
-
- See the Apple Human Interface Guidelines section about the Network Activity Indicator for more information:
- http://developer.apple.com/library/iOS/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW44
- */
-@interface AFNetworkActivityIndicatorManager : NSObject
-
-/**
- A Boolean value indicating whether the manager is enabled.
-
- If YES, the manager will change status bar network activity indicator according to network operation notifications it receives. The default value is NO.
- */
-@property (nonatomic, assign, getter = isEnabled) BOOL enabled;
-
-/**
- A Boolean value indicating whether the network activity indicator is currently displayed in the status bar.
- */
-@property (readonly, nonatomic, assign) BOOL isNetworkActivityIndicatorVisible;
-
-/**
- Returns the shared network activity indicator manager object for the system.
-
- @return The systemwide network activity indicator manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Increments the number of active network requests. If this number was zero before incrementing, this will start animating the status bar network activity indicator.
- */
-- (void)incrementActivityCount;
-
-/**
- Decrements the number of active network requests. If this number becomes zero after decrementing, this will stop animating the status bar network activity indicator.
- */
-- (void)decrementActivityCount;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m
deleted file mode 100644
index c2d855a59c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m
+++ /dev/null
@@ -1,171 +0,0 @@
-// AFNetworkActivityIndicatorManager.m
-//
-// 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.
-
-#import "AFNetworkActivityIndicatorManager.h"
-
-#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static NSTimeInterval const kAFNetworkActivityIndicatorInvisibilityDelay = 0.17;
-
-static NSURLRequest * AFNetworkRequestFromNotification(NSNotification *notification) {
- if ([[notification object] isKindOfClass:[AFURLConnectionOperation class]]) {
- return [(AFURLConnectionOperation *)[notification object] request];
- }
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
- if ([[notification object] respondsToSelector:@selector(originalRequest)]) {
- return [(NSURLSessionTask *)[notification object] originalRequest];
- }
-#endif
-
- return nil;
-}
-
-@interface AFNetworkActivityIndicatorManager ()
-@property (readwrite, nonatomic, assign) NSInteger activityCount;
-@property (readwrite, nonatomic, strong) NSTimer *activityIndicatorVisibilityTimer;
-@property (readonly, nonatomic, getter = isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;
-
-- (void)updateNetworkActivityIndicatorVisibility;
-- (void)updateNetworkActivityIndicatorVisibilityDelayed;
-@end
-
-@implementation AFNetworkActivityIndicatorManager
-@dynamic networkActivityIndicatorVisible;
-
-+ (instancetype)sharedManager {
- static AFNetworkActivityIndicatorManager *_sharedManager = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _sharedManager = [[self alloc] init];
- });
-
- return _sharedManager;
-}
-
-+ (NSSet *)keyPathsForValuesAffectingIsNetworkActivityIndicatorVisible {
- return [NSSet setWithObject:@"activityCount"];
-}
-
-- (id)init {
- self = [super init];
- if (!self) {
- return nil;
- }
-
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingOperationDidStartNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingOperationDidFinishNotification object:nil];
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingTaskDidResumeNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidSuspendNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidCompleteNotification object:nil];
-#endif
-
- return self;
-}
-
-- (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-
- [_activityIndicatorVisibilityTimer invalidate];
-}
-
-- (void)updateNetworkActivityIndicatorVisibilityDelayed {
- if (self.enabled) {
- // Delay hiding of activity indicator for a short interval, to avoid flickering
- if (![self isNetworkActivityIndicatorVisible]) {
- [self.activityIndicatorVisibilityTimer invalidate];
- self.activityIndicatorVisibilityTimer = [NSTimer timerWithTimeInterval:kAFNetworkActivityIndicatorInvisibilityDelay target:self selector:@selector(updateNetworkActivityIndicatorVisibility) userInfo:nil repeats:NO];
- [[NSRunLoop mainRunLoop] addTimer:self.activityIndicatorVisibilityTimer forMode:NSRunLoopCommonModes];
- } else {
- [self performSelectorOnMainThread:@selector(updateNetworkActivityIndicatorVisibility) withObject:nil waitUntilDone:NO modes:@[NSRunLoopCommonModes]];
- }
- }
-}
-
-- (BOOL)isNetworkActivityIndicatorVisible {
- return self.activityCount > 0;
-}
-
-- (void)updateNetworkActivityIndicatorVisibility {
- [[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:[self isNetworkActivityIndicatorVisible]];
-}
-
-- (void)setActivityCount:(NSInteger)activityCount {
- @synchronized(self) {
- _activityCount = activityCount;
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)incrementActivityCount {
- [self willChangeValueForKey:@"activityCount"];
- @synchronized(self) {
- _activityCount++;
- }
- [self didChangeValueForKey:@"activityCount"];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)decrementActivityCount {
- [self willChangeValueForKey:@"activityCount"];
- @synchronized(self) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- _activityCount = MAX(_activityCount - 1, 0);
-#pragma clang diagnostic pop
- }
- [self didChangeValueForKey:@"activityCount"];
-
- dispatch_async(dispatch_get_main_queue(), ^{
- [self updateNetworkActivityIndicatorVisibilityDelayed];
- });
-}
-
-- (void)networkRequestDidStart:(NSNotification *)notification {
- if ([AFNetworkRequestFromNotification(notification) URL]) {
- [self incrementActivityCount];
- }
-}
-
-- (void)networkRequestDidFinish:(NSNotification *)notification {
- if ([AFNetworkRequestFromNotification(notification) URL]) {
- [self decrementActivityCount];
- }
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 100644
index 1c1f8dd6f8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// UIActivityIndicatorView+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIActivityIndicatorView` class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a request operation or session task.
- */
-@interface UIActivityIndicatorView (AFNetworking)
-
-///----------------------------------
-/// @name Animating for Session Tasks
-///----------------------------------
-
-/**
- Binds the animating state to the state of the specified task.
-
- @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task;
-#endif
-
-///---------------------------------------
-/// @name Animating for Request Operations
-///---------------------------------------
-
-/**
- Binds the animating state to the execution state of the specified operation.
-
- @param operation The operation. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setAnimatingWithStateOfOperation:(AFURLConnectionOperation *)operation;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m
deleted file mode 100644
index 6627dbb1b8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m
+++ /dev/null
@@ -1,97 +0,0 @@
-// UIActivityIndicatorView+AFNetworking.m
-//
-// 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.
-
-#import "UIActivityIndicatorView+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-@implementation UIActivityIndicatorView (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
-
- if (task) {
- if (task.state != NSURLSessionTaskStateCompleted) {
- if (task.state == NSURLSessionTaskStateRunning) {
- [self startAnimating];
- } else {
- [self stopAnimating];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_startAnimating) name:AFNetworkingTaskDidResumeNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidCompleteNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingTaskDidSuspendNotification object:task];
- }
- }
-}
-#endif
-
-#pragma mark -
-
-- (void)setAnimatingWithStateOfOperation:(AFURLConnectionOperation *)operation {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidStartNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidFinishNotification object:nil];
-
- if (operation) {
- if (![operation isFinished]) {
- if ([operation isExecuting]) {
- [self startAnimating];
- } else {
- [self stopAnimating];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_startAnimating) name:AFNetworkingOperationDidStartNotification object:operation];
- [notificationCenter addObserver:self selector:@selector(af_stopAnimating) name:AFNetworkingOperationDidFinishNotification object:operation];
- }
- }
-}
-
-#pragma mark -
-
-- (void)af_startAnimating {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self startAnimating];
- });
-}
-
-- (void)af_stopAnimating {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self stopAnimating];
- });
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 100644
index b94f1cb8e0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1,96 +0,0 @@
-// UIAlertView+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIAlertView` class. The methods in this category provide support for automatically showing an alert if a session task or request operation finishes with an error. Alert title and message are filled from the corresponding `localizedDescription` & `localizedRecoverySuggestion` or `localizedFailureReason` of the error.
- */
-@interface UIAlertView (AFNetworking)
-
-///-------------------------------------
-/// @name Showing Alert for Session Task
-///-------------------------------------
-
-/**
- Shows an alert view with the error of the specified session task, if any.
-
- @param task The session task.
- @param delegate The alert view delegate.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate;
-#endif
-
-/**
- Shows an alert view with the error of the specified session task, if any, with a custom cancel button title and other button titles.
-
- @param task The session task.
- @param delegate The alert view delegate.
- @param cancelButtonTitle The title of the cancel button or nil if there is no cancel button. Using this argument is equivalent to setting the cancel button index to the value returned by invoking addButtonWithTitle: specifying this title.
- @param otherButtonTitles The title of another button. Using this argument is equivalent to invoking addButtonWithTitle: with this title to add more buttons. Too many buttons can cause the alert view to scroll. For guidelines on the best ways to use an alert in an app, see "Temporary Views". Titles of additional buttons to add to the receiver, terminated with `nil`.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
-#endif
-
-///------------------------------------------
-/// @name Showing Alert for Request Operation
-///------------------------------------------
-
-/**
- Shows an alert view with the error of the specified request operation, if any.
-
- @param operation The request operation.
- @param delegate The alert view delegate.
- */
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate;
-
-/**
- Shows an alert view with the error of the specified request operation, if any, with a custom cancel button title and other button titles.
-
- @param operation The request operation.
- @param delegate The alert view delegate.
- @param cancelButtonTitle The title of the cancel button or nil if there is no cancel button. Using this argument is equivalent to setting the cancel button index to the value returned by invoking addButtonWithTitle: specifying this title.
- @param otherButtonTitles The title of another button. Using this argument is equivalent to invoking addButtonWithTitle: with this title to add more buttons. Too many buttons can cause the alert view to scroll. For guidelines on the best ways to use an alert in an app, see "Temporary Views". Titles of additional buttons to add to the receiver, terminated with `nil`.
- */
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m
deleted file mode 100644
index b7e2a26cb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.m
+++ /dev/null
@@ -1,111 +0,0 @@
-// UIAlertView+AFNetworking.m
-//
-// 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.
-
-#import "UIAlertView+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLConnectionOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static void AFGetAlertViewTitleAndMessageFromError(NSError *error, NSString * __autoreleasing *title, NSString * __autoreleasing *message) {
- if (error.localizedDescription && (error.localizedRecoverySuggestion || error.localizedFailureReason)) {
- *title = error.localizedDescription;
-
- if (error.localizedRecoverySuggestion) {
- *message = error.localizedRecoverySuggestion;
- } else {
- *message = error.localizedFailureReason;
- }
- } else if (error.localizedDescription) {
- *title = NSLocalizedStringFromTable(@"Error", @"AFNetworking", @"Fallback Error Description");
- *message = error.localizedDescription;
- } else {
- *title = NSLocalizedStringFromTable(@"Error", @"AFNetworking", @"Fallback Error Description");
- *message = [NSString stringWithFormat:NSLocalizedStringFromTable(@"%@ Error: %ld", @"AFNetworking", @"Fallback Error Failure Reason Format"), error.domain, (long)error.code];
- }
-}
-
-@implementation UIAlertView (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
-{
- [self showAlertViewForTaskWithErrorOnCompletion:task delegate:delegate cancelButtonTitle:NSLocalizedStringFromTable(@"Dismiss", @"AFNetworking", @"UIAlertView Cancel Button Title") otherButtonTitles:nil, nil];
-}
-
-+ (void)showAlertViewForTaskWithErrorOnCompletion:(NSURLSessionTask *)task
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION
-{
- __block id observer = [[NSNotificationCenter defaultCenter] addObserverForName:AFNetworkingTaskDidCompleteNotification object:task queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notification) {
-
- NSError *error = notification.userInfo[AFNetworkingTaskDidCompleteErrorKey];
- if (error) {
- NSString *title, *message;
- AFGetAlertViewTitleAndMessageFromError(error, &title, &message);
-
- [[[UIAlertView alloc] initWithTitle:title message:message delegate:delegate cancelButtonTitle:cancelButtonTitle otherButtonTitles:otherButtonTitles, nil] show];
- }
-
- [[NSNotificationCenter defaultCenter] removeObserver:observer name:AFNetworkingTaskDidCompleteNotification object:notification.object];
- }];
-}
-#endif
-
-#pragma mark -
-
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
-{
- [self showAlertViewForRequestOperationWithErrorOnCompletion:operation delegate:delegate cancelButtonTitle:NSLocalizedStringFromTable(@"Dismiss", @"AFNetworking", @"UIAlert View Cancel Button Title") otherButtonTitles:nil, nil];
-}
-
-+ (void)showAlertViewForRequestOperationWithErrorOnCompletion:(AFURLConnectionOperation *)operation
- delegate:(id)delegate
- cancelButtonTitle:(NSString *)cancelButtonTitle
- otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION
-{
- __block id observer = [[NSNotificationCenter defaultCenter] addObserverForName:AFNetworkingOperationDidFinishNotification object:operation queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notification) {
-
- if (notification.object && [notification.object isKindOfClass:[AFURLConnectionOperation class]]) {
- NSError *error = [(AFURLConnectionOperation *)notification.object error];
- if (error) {
- NSString *title, *message;
- AFGetAlertViewTitleAndMessageFromError(error, &title, &message);
-
- [[[UIAlertView alloc] initWithTitle:title message:message delegate:delegate cancelButtonTitle:cancelButtonTitle otherButtonTitles:otherButtonTitles, nil] show];
- }
- }
-
- [[NSNotificationCenter defaultCenter] removeObserver:observer name:AFNetworkingOperationDidFinishNotification object:notification.object];
- }];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h
deleted file mode 100644
index e6ed6de04c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1,181 +0,0 @@
-// UIButton+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@protocol AFURLResponseSerialization, AFImageCache;
-
-/**
- This category adds methods to the UIKit framework's `UIButton` class. The methods in this category provide support for loading remote images and background images asynchronously from a URL.
-
- @warning Compound values for control `state` (such as `UIControlStateHighlighted | UIControlStateDisabled`) are unsupported.
- */
-@interface UIButton (AFNetworking)
-
-///----------------------------
-/// @name Accessing Image Cache
-///----------------------------
-
-/**
- The image cache used to improve image loadiing performance on scroll views. By default, `UIButton` will use the `sharedImageCache` of `UIImageView`.
- */
-+ (id <AFImageCache>)sharedImageCache;
-
-/**
- Set the cache used for image loading.
-
- @param imageCache The image cache.
- */
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache;
-
-///------------------------------------
-/// @name Accessing Response Serializer
-///------------------------------------
-
-/**
- The response serializer used to create an image representation from the server response and response data. By default, this is an instance of `AFImageResponseSerializer`.
-
- @discussion Subclasses of `AFImageResponseSerializer` could be used to perform post-processing, such as color correction, face detection, or other effects. See https://github.com/AFNetworking/AFCoreImageSerializer
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> imageResponseSerializer;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- */
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- */
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- @param success A block to be executed when the image request operation finishes successfully. This block has no return value and takes two arguments: the server response and the image. If the image was returned from cache, the request and response parameters will be `nil`.
- @param failure A block object to be executed when the image request operation finishes unsuccessfully, or that finishes successfully. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)setImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure;
-
-
-///-------------------------------
-/// @name Setting Background Image
-///-------------------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous background image request for the receiver will be cancelled.
-
- If the background image is cached locally, the background image is set immediately, otherwise the specified placeholder background image will be set immediately, and then the remote background image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setBackgroundImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure;
-
-
-///------------------------------
-/// @name Canceling Image Loading
-///------------------------------
-
-/**
- Cancels any executing image operation for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelImageRequestOperationForState:(UIControlState)state;
-
-/**
- Cancels any executing background image operation for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelBackgroundImageRequestOperationForState:(UIControlState)state;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m
deleted file mode 100644
index a225290a25..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.m
+++ /dev/null
@@ -1,293 +0,0 @@
-// UIButton+AFNetworking.m
-//
-// 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.
-
-#import "UIButton+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLResponseSerialization.h"
-#import "AFHTTPRequestOperation.h"
-
-#import "UIImageView+AFNetworking.h"
-
-@interface UIButton (_AFNetworking)
-@end
-
-@implementation UIButton (_AFNetworking)
-
-+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
- static NSOperationQueue *_af_sharedImageRequestOperationQueue = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_sharedImageRequestOperationQueue = [[NSOperationQueue alloc] init];
- _af_sharedImageRequestOperationQueue.maxConcurrentOperationCount = NSOperationQueueDefaultMaxConcurrentOperationCount;
- });
-
- return _af_sharedImageRequestOperationQueue;
-}
-
-#pragma mark -
-
-static char AFImageRequestOperationNormal;
-static char AFImageRequestOperationHighlighted;
-static char AFImageRequestOperationSelected;
-static char AFImageRequestOperationDisabled;
-
-static const char * af_imageRequestOperationKeyForState(UIControlState state) {
- switch (state) {
- case UIControlStateHighlighted:
- return &AFImageRequestOperationHighlighted;
- case UIControlStateSelected:
- return &AFImageRequestOperationSelected;
- case UIControlStateDisabled:
- return &AFImageRequestOperationDisabled;
- case UIControlStateNormal:
- default:
- return &AFImageRequestOperationNormal;
- }
-}
-
-- (AFHTTPRequestOperation *)af_imageRequestOperationForState:(UIControlState)state {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, af_imageRequestOperationKeyForState(state));
-}
-
-- (void)af_setImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation
- forState:(UIControlState)state
-{
- objc_setAssociatedObject(self, af_imageRequestOperationKeyForState(state), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-static char AFBackgroundImageRequestOperationNormal;
-static char AFBackgroundImageRequestOperationHighlighted;
-static char AFBackgroundImageRequestOperationSelected;
-static char AFBackgroundImageRequestOperationDisabled;
-
-static const char * af_backgroundImageRequestOperationKeyForState(UIControlState state) {
- switch (state) {
- case UIControlStateHighlighted:
- return &AFBackgroundImageRequestOperationHighlighted;
- case UIControlStateSelected:
- return &AFBackgroundImageRequestOperationSelected;
- case UIControlStateDisabled:
- return &AFBackgroundImageRequestOperationDisabled;
- case UIControlStateNormal:
- default:
- return &AFBackgroundImageRequestOperationNormal;
- }
-}
-
-- (AFHTTPRequestOperation *)af_backgroundImageRequestOperationForState:(UIControlState)state {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, af_backgroundImageRequestOperationKeyForState(state));
-}
-
-- (void)af_setBackgroundImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation
- forState:(UIControlState)state
-{
- objc_setAssociatedObject(self, af_backgroundImageRequestOperationKeyForState(state), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIButton (AFNetworking)
-
-+ (id <AFImageCache>)sharedImageCache {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(sharedImageCache)) ?: [UIImageView sharedImageCache];
-#pragma clang diagnostic pop
-}
-
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache {
- objc_setAssociatedObject(self, @selector(sharedImageCache), imageCache, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (id <AFURLResponseSerialization>)imageResponseSerializer {
- static id <AFURLResponseSerialization> _af_defaultImageResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultImageResponseSerializer = [AFImageResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(imageResponseSerializer)) ?: _af_defaultImageResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setImageResponseSerializer:(id <AFURLResponseSerialization>)serializer {
- objc_setAssociatedObject(self, @selector(imageResponseSerializer), serializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
-{
- [self setImageForState:state withURL:url placeholderImage:nil];
-}
-
-- (void)setImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure
-{
- [self cancelImageRequestOperationForState:state];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- [self setImage:cachedImage forState:state];
- }
-
- [self af_setImageRequestOperation:nil forState:state];
- } else {
- if (placeholderImage) {
- [self setImage:placeholderImage forState:state];
- }
-
- __weak __typeof(self)weakSelf = self;
- AFHTTPRequestOperation *imageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- imageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [imageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[operation.request URL]]) {
- if (success) {
- success(operation.request, operation.response, responseObject);
- } else if (responseObject) {
- [strongSelf setImage:responseObject forState:state];
- }
- }
- [[[strongSelf class] sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- if ([[urlRequest URL] isEqual:[operation.response URL]]) {
- if (failure) {
- failure(error);
- }
- }
- }];
-
- [self af_setImageRequestOperation:imageRequestOperation forState:state];
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:imageRequestOperation];
- }
-}
-
-#pragma mark -
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
-{
- [self setBackgroundImageForState:state withURL:url placeholderImage:nil];
-}
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setBackgroundImageForState:state withURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setBackgroundImageForState:(UIControlState)state
- withURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSError *error))failure
-{
- [self cancelBackgroundImageRequestOperationForState:state];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- [self setBackgroundImage:cachedImage forState:state];
- }
-
- [self af_setBackgroundImageRequestOperation:nil forState:state];
- } else {
- if (placeholderImage) {
- [self setBackgroundImage:placeholderImage forState:state];
- }
-
- __weak __typeof(self)weakSelf = self;
- AFHTTPRequestOperation *backgroundImageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- backgroundImageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [backgroundImageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[operation.request URL]]) {
- if (success) {
- success(operation.request, operation.response, responseObject);
- } else if (responseObject) {
- [strongSelf setBackgroundImage:responseObject forState:state];
- }
- }
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- if ([[urlRequest URL] isEqual:[operation.response URL]]) {
- if (failure) {
- failure(error);
- }
- }
- }];
-
- [self af_setBackgroundImageRequestOperation:backgroundImageRequestOperation forState:state];
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:backgroundImageRequestOperation];
- }
-}
-
-#pragma mark -
-
-- (void)cancelImageRequestOperationForState:(UIControlState)state {
- [[self af_imageRequestOperationForState:state] cancel];
- [self af_setImageRequestOperation:nil forState:state];
-}
-
-- (void)cancelBackgroundImageRequestOperationForState:(UIControlState)state {
- [[self af_backgroundImageRequestOperationForState:state] cancel];
- [self af_setBackgroundImageRequestOperation:nil forState:state];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h
deleted file mode 100644
index 5d523636e8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1,143 +0,0 @@
-// UIImageView+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@protocol AFURLResponseSerialization, AFImageCache;
-
-/**
- This category adds methods to the UIKit framework's `UIImageView` class. The methods in this category provide support for loading remote images asynchronously from a URL.
- */
-@interface UIImageView (AFNetworking)
-
-///----------------------------
-/// @name Accessing Image Cache
-///----------------------------
-
-/**
- The image cache used to improve image loadiing performance on scroll views. By default, this is an `NSCache` subclass conforming to the `AFImageCache` protocol, which listens for notification warnings and evicts objects accordingly.
-*/
-+ (id <AFImageCache>)sharedImageCache;
-
-/**
- Set the cache used for image loading.
-
- @param imageCache The image cache.
- */
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache;
-
-///------------------------------------
-/// @name Accessing Response Serializer
-///------------------------------------
-
-/**
- The response serializer used to create an image representation from the server response and response data. By default, this is an instance of `AFImageResponseSerializer`.
-
- @discussion Subclasses of `AFImageResponseSerializer` could be used to perform post-processing, such as color correction, face detection, or other effects. See https://github.com/AFNetworking/AFCoreImageSerializer
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> imageResponseSerializer;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- */
-- (void)setImageWithURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- */
-- (void)setImageWithURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with `self.image = image` is applied.
-
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- @param success A block to be executed when the image request operation finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the request and response parameters will be `nil`.
- @param failure A block object to be executed when the image request operation finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
- */
-- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure;
-
-/**
- Cancels any executing image operation for the receiver, if one exists.
- */
-- (void)cancelImageRequestOperation;
-
-@end
-
-#pragma mark -
-
-/**
- The `AFImageCache` protocol is adopted by an object used to cache images loaded by the AFNetworking category on `UIImageView`.
- */
-@protocol AFImageCache <NSObject>
-
-/**
- Returns a cached image for the specififed request, if available.
-
- @param request The image request.
-
- @return The cached image.
- */
-- (UIImage *)cachedImageForRequest:(NSURLRequest *)request;
-
-/**
- Caches a particular image for the specified request.
-
- @param image The image to cache.
- @param request The request to be used as a cache key.
- */
-- (void)cacheImage:(UIImage *)image
- forRequest:(NSURLRequest *)request;
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m
deleted file mode 100644
index c06aa9ca4c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.m
+++ /dev/null
@@ -1,216 +0,0 @@
-// UIImageView+AFNetworking.m
-//
-// 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.
-
-#import "UIImageView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-@interface AFImageCache : NSCache <AFImageCache>
-@end
-
-#pragma mark -
-
-@interface UIImageView (_AFNetworking)
-@property (readwrite, nonatomic, strong, setter = af_setImageRequestOperation:) AFHTTPRequestOperation *af_imageRequestOperation;
-@end
-
-@implementation UIImageView (_AFNetworking)
-
-+ (NSOperationQueue *)af_sharedImageRequestOperationQueue {
- static NSOperationQueue *_af_sharedImageRequestOperationQueue = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_sharedImageRequestOperationQueue = [[NSOperationQueue alloc] init];
- _af_sharedImageRequestOperationQueue.maxConcurrentOperationCount = NSOperationQueueDefaultMaxConcurrentOperationCount;
- });
-
- return _af_sharedImageRequestOperationQueue;
-}
-
-- (AFHTTPRequestOperation *)af_imageRequestOperation {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, @selector(af_imageRequestOperation));
-}
-
-- (void)af_setImageRequestOperation:(AFHTTPRequestOperation *)imageRequestOperation {
- objc_setAssociatedObject(self, @selector(af_imageRequestOperation), imageRequestOperation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIImageView (AFNetworking)
-@dynamic imageResponseSerializer;
-
-+ (id <AFImageCache>)sharedImageCache {
- static AFImageCache *_af_defaultImageCache = nil;
- static dispatch_once_t oncePredicate;
- dispatch_once(&oncePredicate, ^{
- _af_defaultImageCache = [[AFImageCache alloc] init];
-
- [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidReceiveMemoryWarningNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification * __unused notification) {
- [_af_defaultImageCache removeAllObjects];
- }];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(sharedImageCache)) ?: _af_defaultImageCache;
-#pragma clang diagnostic pop
-}
-
-+ (void)setSharedImageCache:(id <AFImageCache>)imageCache {
- objc_setAssociatedObject(self, @selector(sharedImageCache), imageCache, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (id <AFURLResponseSerialization>)imageResponseSerializer {
- static id <AFURLResponseSerialization> _af_defaultImageResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultImageResponseSerializer = [AFImageResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(imageResponseSerializer)) ?: _af_defaultImageResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setImageResponseSerializer:(id <AFURLResponseSerialization>)serializer {
- objc_setAssociatedObject(self, @selector(imageResponseSerializer), serializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)setImageWithURL:(NSURL *)url {
- [self setImageWithURL:url placeholderImage:nil];
-}
-
-- (void)setImageWithURL:(NSURL *)url
- placeholderImage:(UIImage *)placeholderImage
-{
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
- [request addValue:@"image/*" forHTTPHeaderField:@"Accept"];
-
- [self setImageWithURLRequest:request placeholderImage:placeholderImage success:nil failure:nil];
-}
-
-- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
- placeholderImage:(UIImage *)placeholderImage
- success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
- failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure
-{
- [self cancelImageRequestOperation];
-
- UIImage *cachedImage = [[[self class] sharedImageCache] cachedImageForRequest:urlRequest];
- if (cachedImage) {
- if (success) {
- success(nil, nil, cachedImage);
- } else {
- self.image = cachedImage;
- }
-
- self.af_imageRequestOperation = nil;
- } else {
- if (placeholderImage) {
- self.image = placeholderImage;
- }
-
- __weak __typeof(self)weakSelf = self;
- self.af_imageRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:urlRequest];
- self.af_imageRequestOperation.responseSerializer = self.imageResponseSerializer;
- [self.af_imageRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[strongSelf.af_imageRequestOperation.request URL]]) {
- if (success) {
- success(urlRequest, operation.response, responseObject);
- } else if (responseObject) {
- strongSelf.image = responseObject;
- }
-
- if (operation == strongSelf.af_imageRequestOperation){
- strongSelf.af_imageRequestOperation = nil;
- }
- }
-
- [[[strongSelf class] sharedImageCache] cacheImage:responseObject forRequest:urlRequest];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- if ([[urlRequest URL] isEqual:[strongSelf.af_imageRequestOperation.request URL]]) {
- if (failure) {
- failure(urlRequest, operation.response, error);
- }
-
- if (operation == strongSelf.af_imageRequestOperation){
- strongSelf.af_imageRequestOperation = nil;
- }
- }
- }];
-
- [[[self class] af_sharedImageRequestOperationQueue] addOperation:self.af_imageRequestOperation];
- }
-}
-
-- (void)cancelImageRequestOperation {
- [self.af_imageRequestOperation cancel];
- self.af_imageRequestOperation = nil;
-}
-
-@end
-
-#pragma mark -
-
-static inline NSString * AFImageCacheKeyFromURLRequest(NSURLRequest *request) {
- return [[request URL] absoluteString];
-}
-
-@implementation AFImageCache
-
-- (UIImage *)cachedImageForRequest:(NSURLRequest *)request {
- switch ([request cachePolicy]) {
- case NSURLRequestReloadIgnoringCacheData:
- case NSURLRequestReloadIgnoringLocalAndRemoteCacheData:
- return nil;
- default:
- break;
- }
-
- return [self objectForKey:AFImageCacheKeyFromURLRequest(request)];
-}
-
-- (void)cacheImage:(UIImage *)image
- forRequest:(NSURLRequest *)request
-{
- if (image && request) {
- [self setObject:image forKey:AFImageCacheKeyFromURLRequest(request)];
- }
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h
deleted file mode 100644
index 94082f6cb5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// UIKit+AFNetworking.h
-//
-// Copyright (c) 2013 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.
-
-#import <UIKit/UIKit.h>
-
-#ifndef _UIKIT_AFNETWORKING_
- #define _UIKIT_AFNETWORKING_
-
- #import "AFNetworkActivityIndicatorManager.h"
-
- #import "UIActivityIndicatorView+AFNetworking.h"
- #import "UIAlertView+AFNetworking.h"
- #import "UIButton+AFNetworking.h"
- #import "UIImageView+AFNetworking.h"
- #import "UIKit+AFNetworking.h"
- #import "UIProgressView+AFNetworking.h"
- #import "UIRefreshControl+AFNetworking.h"
- #import "UIWebView+AFNetworking.h"
-#endif /* _UIKIT_AFNETWORKING_ */
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 100644
index 3f1bc086f5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1,88 +0,0 @@
-// UIProgressView+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task or request operation.
- */
-@interface UIProgressView (AFNetworking)
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
- animated:(BOOL)animated;
-#endif
-
-/**
- Binds the progress to the download progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
- animated:(BOOL)animated;
-#endif
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated;
-
-/**
- Binds the progress to the download progress of the specified request operation.
-
- @param operation The request operation.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m
deleted file mode 100644
index 927f56d843..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.m
+++ /dev/null
@@ -1,183 +0,0 @@
-// UIProgressView+AFNetworking.m
-//
-// 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.
-
-#import "UIProgressView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFURLConnectionOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-static void * AFTaskCountOfBytesSentContext = &AFTaskCountOfBytesSentContext;
-static void * AFTaskCountOfBytesReceivedContext = &AFTaskCountOfBytesReceivedContext;
-
-@interface AFURLConnectionOperation (_UIProgressView)
-@property (readwrite, nonatomic, copy) void (^uploadProgress)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-@property (readwrite, nonatomic, assign, setter = af_setUploadProgressAnimated:) BOOL af_uploadProgressAnimated;
-
-@property (readwrite, nonatomic, copy) void (^downloadProgress)(NSUInteger bytes, long long totalBytes, long long totalBytesExpected);
-@property (readwrite, nonatomic, assign, setter = af_setDownloadProgressAnimated:) BOOL af_downloadProgressAnimated;
-@end
-
-@implementation AFURLConnectionOperation (_UIProgressView)
-@dynamic uploadProgress; // Implemented in AFURLConnectionOperation
-@dynamic af_uploadProgressAnimated;
-
-@dynamic downloadProgress; // Implemented in AFURLConnectionOperation
-@dynamic af_downloadProgressAnimated;
-@end
-
-#pragma mark -
-
-@implementation UIProgressView (AFNetworking)
-
-- (BOOL)af_uploadProgressAnimated {
- return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_uploadProgressAnimated)) boolValue];
-}
-
-- (void)af_setUploadProgressAnimated:(BOOL)animated {
- objc_setAssociatedObject(self, @selector(af_uploadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-- (BOOL)af_downloadProgressAnimated {
- return [(NSNumber *)objc_getAssociatedObject(self, @selector(af_downloadProgressAnimated)) boolValue];
-}
-
-- (void)af_setDownloadProgressAnimated:(BOOL)animated {
- objc_setAssociatedObject(self, @selector(af_downloadProgressAnimated), @(animated), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
- animated:(BOOL)animated
-{
- [task addObserver:self forKeyPath:@"state" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];
- [task addObserver:self forKeyPath:@"countOfBytesSent" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesSentContext];
-
- [self af_setUploadProgressAnimated:animated];
-}
-
-- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
- animated:(BOOL)animated
-{
- [task addObserver:self forKeyPath:@"state" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];
- [task addObserver:self forKeyPath:@"countOfBytesReceived" options:(NSKeyValueObservingOptions)0 context:AFTaskCountOfBytesReceivedContext];
-
- [self af_setDownloadProgressAnimated:animated];
-}
-#endif
-
-#pragma mark -
-
-- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated
-{
- __weak __typeof(self)weakSelf = self;
- void (^original)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) = [operation.uploadProgress copy];
- [operation setUploadProgressBlock:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
- if (original) {
- original(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- if (totalBytesExpectedToWrite > 0) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- [strongSelf setProgress:(totalBytesWritten / (totalBytesExpectedToWrite * 1.0f)) animated:animated];
- }
- });
- }];
-}
-
-- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation
- animated:(BOOL)animated
-{
- __weak __typeof(self)weakSelf = self;
- void (^original)(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead) = [operation.downloadProgress copy];
- [operation setDownloadProgressBlock:^(NSUInteger bytesRead, long long totalBytesRead, long long totalBytesExpectedToRead) {
- if (original) {
- original(bytesRead, totalBytesRead, totalBytesExpectedToRead);
- }
-
- dispatch_async(dispatch_get_main_queue(), ^{
- if (totalBytesExpectedToRead > 0) {
- __strong __typeof(weakSelf)strongSelf = weakSelf;
- [strongSelf setProgress:(totalBytesRead / (totalBytesExpectedToRead * 1.0f)) animated:animated];
- }
- });
- }];
-}
-
-#pragma mark - NSKeyValueObserving
-
-- (void)observeValueForKeyPath:(NSString *)keyPath
- ofObject:(id)object
- change:(__unused NSDictionary *)change
- context:(void *)context
-{
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
- if (context == AFTaskCountOfBytesSentContext || context == AFTaskCountOfBytesReceivedContext) {
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesSent))]) {
- if ([object countOfBytesExpectedToSend] > 0) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self setProgress:[object countOfBytesSent] / ([object countOfBytesExpectedToSend] * 1.0f) animated:self.af_uploadProgressAnimated];
- });
- }
- }
-
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(countOfBytesReceived))]) {
- if ([object countOfBytesExpectedToReceive] > 0) {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self setProgress:[object countOfBytesReceived] / ([object countOfBytesExpectedToReceive] * 1.0f) animated:self.af_downloadProgressAnimated];
- });
- }
- }
-
- if ([keyPath isEqualToString:NSStringFromSelector(@selector(state))]) {
- if ([(NSURLSessionTask *)object state] == NSURLSessionTaskStateCompleted) {
- @try {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(state))];
-
- if (context == AFTaskCountOfBytesSentContext) {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesSent))];
- }
-
- if (context == AFTaskCountOfBytesReceivedContext) {
- [object removeObserver:self forKeyPath:NSStringFromSelector(@selector(countOfBytesReceived))];
- }
- }
- @catch (NSException * __unused exception) {}
- }
- }
- }
-#endif
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 100644
index 37ce772de0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// UIRefreshControl+AFNetworking.m
-//
-// Copyright (c) 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFURLConnectionOperation;
-
-/**
- This category adds methods to the UIKit framework's `UIRefreshControl` class. The methods in this category provide support for automatically begining and ending refreshing depending on the loading state of a request operation or session task.
- */
-@interface UIRefreshControl (AFNetworking)
-
-///-----------------------------------
-/// @name Refreshing for Session Tasks
-///-----------------------------------
-
-/**
- Binds the refreshing state to the state of the specified task.
-
- @param task The task. If `nil`, automatic updating from any previously specified operation will be diabled.
- */
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task;
-#endif
-
-///----------------------------------------
-/// @name Refreshing for Request Operations
-///----------------------------------------
-
-/**
- Binds the refreshing state to the execution state of the specified operation.
-
- @param operation The operation. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m
deleted file mode 100644
index e266451fe5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.m
+++ /dev/null
@@ -1,93 +0,0 @@
-// UIRefreshControl+AFNetworking.m
-//
-// Copyright (c) 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.
-
-#import "UIRefreshControl+AFNetworking.h"
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-#import "AFURLSessionManager.h"
-#endif
-
-@implementation UIRefreshControl (AFNetworking)
-
-#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000
-- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidResumeNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidSuspendNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingTaskDidCompleteNotification object:nil];
-
- if (task) {
- if (task.state == NSURLSessionTaskStateRunning) {
- [self beginRefreshing];
-
- [notificationCenter addObserver:self selector:@selector(af_beginRefreshing) name:AFNetworkingTaskDidResumeNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidCompleteNotification object:task];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingTaskDidSuspendNotification object:task];
- } else {
- [self endRefreshing];
- }
- }
-}
-#endif
-
-- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation {
- NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
-
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidStartNotification object:nil];
- [notificationCenter removeObserver:self name:AFNetworkingOperationDidFinishNotification object:nil];
-
- if (operation) {
- if (![operation isFinished]) {
- if ([operation isExecuting]) {
- [self beginRefreshing];
- } else {
- [self endRefreshing];
- }
-
- [notificationCenter addObserver:self selector:@selector(af_beginRefreshing) name:AFNetworkingOperationDidStartNotification object:operation];
- [notificationCenter addObserver:self selector:@selector(af_endRefreshing) name:AFNetworkingOperationDidFinishNotification object:operation];
- }
- }
-}
-
-#pragma mark -
-
-- (void)af_beginRefreshing {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self beginRefreshing];
- });
-}
-
-- (void)af_endRefreshing {
- dispatch_async(dispatch_get_main_queue(), ^{
- [self endRefreshing];
- });
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h
deleted file mode 100644
index 202e8f4ea2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// UIWebView+AFNetworking.h
-//
-// 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.
-
-#import <Foundation/Foundation.h>
-
-#import <Availability.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import <UIKit/UIKit.h>
-
-@class AFHTTPRequestSerializer, AFHTTPResponseSerializer;
-@protocol AFURLRequestSerialization, AFURLResponseSerialization;
-
-/**
- This category adds methods to the UIKit framework's `UIWebView` class. The methods in this category provide increased control over the request cycle, including progress monitoring and success / failure handling.
-
- @discussion When using these category methods, make sure to assign `delegate` for the web view, which implements `–webView:shouldStartLoadWithRequest:navigationType:` appropriately. This allows for tapped links to be loaded through AFNetworking, and can ensure that `canGoBack` & `canGoForward` update their values correctly.
- */
-@interface UIWebView (AFNetworking)
-
-/**
- The request serializer used to serialize requests made with the `-loadRequest:...` category methods. By default, this is an instance of `AFHTTPRequestSerializer`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- The response serializer used to serialize responses made with the `-loadRequest:...` category methods. By default, this is an instance of `AFHTTPResponseSerializer`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-/**
- Asynchronously loads the specified request.
-
- @param request A URL request identifying the location of the content to load. This must not be `nil`.
- @param progress A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- @param success A block object to be executed when the request finishes loading successfully. This block returns the HTML string to be loaded by the web view, and takes two arguments: the response, and the response string.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)loadRequest:(NSURLRequest *)request
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success
- failure:(void (^)(NSError *error))failure;
-
-/**
- Asynchronously loads the data associated with a particular request with a specified MIME type and text encoding.
-
- @param request A URL request identifying the location of the content to load. This must not be `nil`.
- @param MIMEType The MIME type of the content. Defaults to the content type of the response if not specified.
- @param textEncodingName The IANA encoding name, as in `utf-8` or `utf-16`. Defaults to the response text encoding if not specified.
- @param progress A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the main thread.
- @param success A block object to be executed when the request finishes loading successfully. This block returns the data to be loaded by the web view and takes two arguments: the response, and the downloaded data.
- @param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a single argument: the error that occurred.
- */
-- (void)loadRequest:(NSURLRequest *)request
- MIMEType:(NSString *)MIMEType
- textEncodingName:(NSString *)textEncodingName
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSData * (^)(NSHTTPURLResponse *response, NSData *data))success
- failure:(void (^)(NSError *error))failure;
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m
deleted file mode 100644
index 525d02aead..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.m
+++ /dev/null
@@ -1,151 +0,0 @@
-// UIWebView+AFNetworking.m
-//
-// 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.
-
-#import "UIWebView+AFNetworking.h"
-
-#import <objc/runtime.h>
-
-#if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
-
-#import "AFHTTPRequestOperation.h"
-#import "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-
-@interface UIWebView (_AFNetworking)
-@property (readwrite, nonatomic, strong, setter = af_setHTTPRequestOperation:) AFHTTPRequestOperation *af_HTTPRequestOperation;
-@end
-
-@implementation UIWebView (_AFNetworking)
-
-- (AFHTTPRequestOperation *)af_HTTPRequestOperation {
- return (AFHTTPRequestOperation *)objc_getAssociatedObject(self, @selector(af_HTTPRequestOperation));
-}
-
-- (void)af_setHTTPRequestOperation:(AFHTTPRequestOperation *)operation {
- objc_setAssociatedObject(self, @selector(af_HTTPRequestOperation), operation, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-@end
-
-#pragma mark -
-
-@implementation UIWebView (AFNetworking)
-
-- (AFHTTPRequestSerializer <AFURLRequestSerialization> *)requestSerializer {
- static AFHTTPRequestSerializer <AFURLRequestSerialization> *_af_defaultRequestSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultRequestSerializer = [AFHTTPRequestSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(requestSerializer)) ?: _af_defaultRequestSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setRequestSerializer:(AFHTTPRequestSerializer<AFURLRequestSerialization> *)requestSerializer {
- objc_setAssociatedObject(self, @selector(requestSerializer), requestSerializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-- (AFHTTPResponseSerializer <AFURLResponseSerialization> *)responseSerializer {
- static AFHTTPResponseSerializer <AFURLResponseSerialization> *_af_defaultResponseSerializer = nil;
- static dispatch_once_t onceToken;
- dispatch_once(&onceToken, ^{
- _af_defaultResponseSerializer = [AFHTTPResponseSerializer serializer];
- });
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- return objc_getAssociatedObject(self, @selector(responseSerializer)) ?: _af_defaultResponseSerializer;
-#pragma clang diagnostic pop
-}
-
-- (void)setResponseSerializer:(AFHTTPResponseSerializer<AFURLResponseSerialization> *)responseSerializer {
- objc_setAssociatedObject(self, @selector(responseSerializer), responseSerializer, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
-#pragma mark -
-
-- (void)loadRequest:(NSURLRequest *)request
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSString * (^)(NSHTTPURLResponse *response, NSString *HTML))success
- failure:(void (^)(NSError *error))failure
-{
- [self loadRequest:request MIMEType:nil textEncodingName:nil progress:progress success:^NSData *(NSHTTPURLResponse *response, NSData *data) {
- NSStringEncoding stringEncoding = NSUTF8StringEncoding;
- if (response.textEncodingName) {
- CFStringEncoding encoding = CFStringConvertIANACharSetNameToEncoding((CFStringRef)response.textEncodingName);
- if (encoding != kCFStringEncodingInvalidId) {
- stringEncoding = CFStringConvertEncodingToNSStringEncoding(encoding);
- }
- }
-
- NSString *string = [[NSString alloc] initWithData:data encoding:stringEncoding];
- if (success) {
- string = success(response, string);
- }
-
- return [string dataUsingEncoding:stringEncoding];
- } failure:failure];
-}
-
-- (void)loadRequest:(NSURLRequest *)request
- MIMEType:(NSString *)MIMEType
- textEncodingName:(NSString *)textEncodingName
- progress:(void (^)(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
- success:(NSData * (^)(NSHTTPURLResponse *response, NSData *data))success
- failure:(void (^)(NSError *error))failure
-{
- NSParameterAssert(request);
-
- if (self.af_HTTPRequestOperation) {
- [self.af_HTTPRequestOperation cancel];
- }
-
- request = [self.requestSerializer requestBySerializingRequest:request withParameters:nil error:nil];
-
- self.af_HTTPRequestOperation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
- self.af_HTTPRequestOperation.responseSerializer = self.responseSerializer;
-
- __weak __typeof(self)weakSelf = self;
- [self.af_HTTPRequestOperation setDownloadProgressBlock:progress];
- [self.af_HTTPRequestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id __unused responseObject) {
- NSData *data = success ? success(operation.response, operation.responseData) : operation.responseData;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wgnu"
- __strong __typeof(weakSelf) strongSelf = weakSelf;
- [strongSelf loadData:data MIMEType:(MIMEType ?: [operation.response MIMEType]) textEncodingName:(textEncodingName ?: [operation.response textEncodingName]) baseURL:[operation.response URL]];
-#pragma clang diagnostic pop
- } failure:^(AFHTTPRequestOperation * __unused operation, NSError *error) {
- if (failure) {
- failure(error);
- }
- }];
-
- [self.af_HTTPRequestOperation start];
-}
-
-@end
-
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 120000
index ac762c8238..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 120000
index 9dcc623c63..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h
deleted file mode 120000
index 56feb9fb85..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 120000
index 67519d9848..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 120000
index 68fc7744f2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h
deleted file mode 120000
index a5a38da7dc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h
deleted file mode 120000
index fd1322db9c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFSecurityPolicy.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h
deleted file mode 120000
index d9b35fb754..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h
deleted file mode 120000
index ca8209b81f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h
deleted file mode 120000
index e36a765d82..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h
deleted file mode 120000
index 835101de7b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 120000
index c534ebfb02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 120000
index f992813385..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h
deleted file mode 120000
index 8f2e221939..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h
deleted file mode 120000
index a95d67380f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h
deleted file mode 120000
index 95017cce57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 120000
index 730b167dcd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 120000
index 8efd826209..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h
deleted file mode 120000
index c8df6ef17b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h
deleted file mode 120000
index ac762c8238..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h
deleted file mode 120000
index 9dcc623c63..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPRequestOperationManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPRequestOperationManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h
deleted file mode 120000
index 56feb9fb85..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h
deleted file mode 120000
index 67519d9848..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h
deleted file mode 120000
index 68fc7744f2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h
deleted file mode 120000
index a5a38da7dc..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h
deleted file mode 120000
index fd1322db9c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFSecurityPolicy.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h
deleted file mode 120000
index d9b35fb754..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLConnectionOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLConnectionOperation.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h
deleted file mode 120000
index ca8209b81f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h
deleted file mode 120000
index e36a765d82..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h
deleted file mode 120000
index 835101de7b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/AFNetworking/AFURLSessionManager.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h
deleted file mode 120000
index c534ebfb02..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h
deleted file mode 120000
index f992813385..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIAlertView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIAlertView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h
deleted file mode 120000
index 8f2e221939..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h
deleted file mode 120000
index a95d67380f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h
deleted file mode 120000
index 95017cce57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h
deleted file mode 120000
index 730b167dcd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h
deleted file mode 120000
index 8efd826209..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h
deleted file mode 120000
index c8df6ef17b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock
deleted file mode 100644
index 5896b3b3b0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock
+++ /dev/null
@@ -1,30 +0,0 @@
-PODS:
- - AFNetworking (2.5.0):
- - AFNetworking/NSURLConnection (= 2.5.0)
- - AFNetworking/NSURLSession (= 2.5.0)
- - AFNetworking/Reachability (= 2.5.0)
- - AFNetworking/Security (= 2.5.0)
- - AFNetworking/Serialization (= 2.5.0)
- - AFNetworking/UIKit (= 2.5.0)
- - AFNetworking/NSURLConnection (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/NSURLSession (2.5.0):
- - AFNetworking/Reachability
- - AFNetworking/Security
- - AFNetworking/Serialization
- - AFNetworking/Reachability (2.5.0)
- - AFNetworking/Security (2.5.0)
- - AFNetworking/Serialization (2.5.0)
- - AFNetworking/UIKit (2.5.0):
- - AFNetworking/NSURLConnection
- - AFNetworking/NSURLSession
-
-DEPENDENCIES:
- - AFNetworking (= 2.5.0)
-
-SPEC CHECKSUMS:
- AFNetworking: 96ac9bf3eda33582701cb1fcc5b896aa1e20311e
-
-COCOAPODS: 0.38.2
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 7c52607f05..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1190 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 00E62B847EA2F65FC90029021AE728D7 /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */; };
- 062627F8F11F3D335F1463F776CC6D7B /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- 0844ADE509A938C41B0727E30A322FDF /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 09036FF02007A01FDD1BD0A574F0B2DE /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */; };
- 0BAFE9A085FC34B4B93E5898BA006719 /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */; };
- 1021F23677C382672D1DB2D99077D141 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */; };
- 10C3A789560233FF8783D60EE2CB545C /* UIRefreshControl+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */; };
- 18BEFCC98B3B58EB4829B46666F5907B /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- 19471BDEE2BC7C9817B53A97AF653CEA /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1C932875CECF31CA7C2B6A26E1E5A3E0 /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1CE3CB5854CF50C2262FA219012F2974 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1E647A46F885F867103C065ED7F71966 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- 1F532A0E0B95E91A62F03407927CB325 /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- 1FF3796AACEDD051A3AB350183208907 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- 28F3B4D89EA1C8A014676F1D386D396C /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */; };
- 2B29F1FA99E275DEDD61A5F688D5C9C1 /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */; };
- 2BB369B883084E0B565E67BD8EC608A2 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 2F147644DB7277F011A038925519E9D0 /* Pods-OHHTTPStubs Mac Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */; };
- 303776F53A80420B45EA0A3BBFEAAF97 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 3B3BA8884C3AD01EE86D9A9FEC915F5E /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 437ECFC28F231AB22E9202E864FA8F8B /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 438968EC789E0F717C25C550274AB650 /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 45AD375FBF85A2BF93A637B148CB59F7 /* UIAlertView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */; };
- 46E2B7C3ADDF592950118FAE3C17FB17 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 48F0FCD4CD27D827CD2C8B805A3673AD /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 491471648F137C917DF4BAE1E349297E /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */; };
- 4C339FF668B3A25065E5368D3609C5C3 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 4C6003B6AAB41183728B539576F798C9 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 4FF4FC4E9DA5EE77D00B35B9CD82F41D /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- 504905DA5DC2A16ADDD1AD52124932D8 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 5C72659A6B26B9815CA33E73D9DC24BF /* AFNetworkActivityIndicatorManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */; };
- 5D7EA100025E4F6FF0D6A55B4BD9997D /* UIButton+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */; };
- 5DB9E56F532D487F5E2629951ADBDFEA /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 600A82D91491C069768FCD6A2010BCB3 /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- 60AAAC807EA458A49273DB6F55E2F936 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 61EC95BBC175B1AF91C3EA5650C764FA /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- 649EADE3D5751F8F6999B5B38770BEE1 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */; };
- 65FAA62D88B42F6BEBA606AF270104E3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5588981C316302A690A0F11429C14EEF /* Security.framework */; };
- 6703E45579332EB0B6979235783E5B14 /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 69EF57311C170DC1DF039E247250C088 /* AFURLRequestSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 6E4BDF75676CC9BBA0BC140AA2253C11 /* UIRefreshControl+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 738FDD277AE8A94CF23B0DED04FE1BB1 /* UIAlertView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 753A5C45559ADFB2540B64D59872BFD2 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */; };
- 759A9B1F3FFC9108F24E43E61B4A9062 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */; };
- 7638217928A9C4691B389C2B12CDB5C3 /* UIButton+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 7676169F7841532A395931C3E17F66C9 /* AFURLResponseSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */; };
- 7745D34FD7B95A486807E20F16E5ACB2 /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */; };
- 7C95483A4097B18335A8BF7642DDC73B /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- 82C3E6B636B783C0B311392BBD9BF5CE /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 82EAF220DAEF2E4F0D70A89DDFECA712 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */; };
- 8875AB1428DA5D9168F3559A3D1CCB90 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */; };
- 8AF9F36D21A64B89909D700B64FACE0D /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 8E55AA32CB5BFB88BF1BE7B661D0D473 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 8F82ED27312CCDF4694204B19CE76BB3 /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- 92B11B96FF7836B2596D0B8B10EFFF65 /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */; };
- 93AC19524F986400E92144DBE3319157 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 94050A36404DA05CD02F403CE1DD1906 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 94A5736A0EC38CA01652B849EF60F84B /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 96B9F0D329D99B07D4B86F4689B63C29 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 99346425C623513B94D6C3BE0F164219 /* UIKit+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */; };
- 9A2F99D9A65589AA07E6459435AA1C0D /* AFNetworkReachabilityManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */; };
- 9AC12B669B09AB75BC0B7B42A05ADD21 /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- 9CEC4434EE320A3C3503F66A56B3612E /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- 9F9729959DD97A6E0868F319B96693CD /* UIActivityIndicatorView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- A027F9B7ADCA44C6A3A979078DC45E88 /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- A4727C9657EEAB1477812E3013A7033A /* AFHTTPRequestOperationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */; };
- A6436F219B1CCA5985A688509EF6060D /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */; };
- A7C74D13A199C4367A5599A40B0D1E1D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */; };
- A8AF6A9C783460F89650597A17BF55CA /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */; };
- AB495171DED382DFC1D70601A0A338C6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- AB4B8331259A23DF5CC3A4212E7415AC /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AC1BE0DB30DF879464CC83953A7185A1 /* UIActivityIndicatorView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */; };
- AD45C703CCC77BAE5329D20FF96D48F1 /* AFSecurityPolicy.m in Sources */ = {isa = PBXBuildFile; fileRef = 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AD9902747B7FC4F71295996DC7860EB8 /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- ADFCEAFAC1424E9CFAA4EBDD0B8AEE48 /* AFNetworkActivityIndicatorManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- AEAD6D6409316FC1F334D4C9DBEA7D8D /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */; };
- B2F8321C37874E4E230F60AE522DAAFD /* UIProgressView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */; };
- B614CCAB66BC6044A90A4AD98F539263 /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- B6E5A5FD952689780B3BE34B718416D2 /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- BC8C8771E348826A0E001F36418C3273 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- BCEB37494E804EFF38A42EB7CFB411F1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */; };
- BD930F37304AB0B2F6954C115D4A3526 /* UIImageView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */; };
- BE04EBD99F23E05DD57CFDDC543DEAB9 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- BEC6D92DC480B498A524C26EE26CA27B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */; };
- BEEC23C8BDC4DBBC2F558BDDB9C5281A /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- C10947C431063D940DDF1B026BD1CC46 /* AFURLResponseSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- C3A9FB02E7B742CE99B363D81626D356 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */; };
- C9F5F78994EF37121A691BFFC78B0487 /* AFURLConnectionOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- CB8DC139D7E210F046BCFB2E5F6CB1D0 /* UIWebView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */; };
- CBBB8FAAD7621035F9E6BD17EBFABE14 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */; };
- CFE236DC8EE5333C1F6F9ABF62B3535C /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- CFF91447C78D216352D482A31C9F5A81 /* AFNetworkReachabilityManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- D2D1AFA8C46D5353FE9C3899C5A7A459 /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- D6C88C216B01055BC5CFD8A8FEB813B6 /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- DA92ED909F56C8D4177A2C83BBE60769 /* AFHTTPRequestOperationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- DB59017FB5CF57B9C999FC168F67553E /* AFURLSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- DC25BB10F0BBA01FF19EE93657F136E9 /* AFHTTPSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */; };
- DD7D6461C4656587A76BF366CF7F778C /* AFURLSessionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */; };
- DE6B6686329084122345FBFFA4A5251F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */; };
- E0F0FF6AEE4479CCDF53AF74F688BA55 /* AFURLConnectionOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */; };
- E37EAD95E243E027EE7E873D8EB9581D /* UIAlertView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E41E538DA6814FA77B07A3E031AAA15C /* AFURLRequestSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */; };
- E5809CB7E9B80EC02904EBF072207B15 /* AFHTTPRequestOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E68FC8E49E7D5E684944923270FC58DF /* AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */; };
- EDB8AFAEF1221D5E9509F6D3DD2399D5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */; };
- EE0E642DC896F9C3644FFC0086DD2A60 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */; };
- EEC219A28F8AF94DCB4E2B7835BEA5EC /* AFSecurityPolicy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */; };
- F0771CF11B589C897EB15E969C8A66AA /* AFHTTPRequestOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */; };
- F15585CD2CF41FAAA08BB23E33AA9EA3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5588981C316302A690A0F11429C14EEF /* Security.framework */; };
- F23EFC6928775AF24E0FFFEAB5B96144 /* UIProgressView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F496D859E44DA30DD6DF9942B8BC37BE /* AFHTTPSessionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F4D2060AFE160CDA0AEA7D4E9C841A56 /* UIAlertView+AFNetworking.h in Headers */ = {isa = PBXBuildFile; fileRef = CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */; };
- FBD776460ABA96AFD8E6BE6F89A10D37 /* UIImageView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- FC4CDC3A0E5E0DCE40E38A32485221BC /* UIWebView+AFNetworking.m in Sources */ = {isa = PBXBuildFile; fileRef = 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 012E086A02A43D7180DDBBF2313657B3 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 83C48F685E760798451C190B67532DD6;
- remoteInfo = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- };
- 068A702EE4FA7CE77E385567A04864DA /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 3CD6B8D1922BB8AF8A0A0C0A940E21B8;
- remoteInfo = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- };
- B8528B1299280339BD414B62FA73C91D /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = F218F9E6DFDEE3DC92EC9A3BF47E6B54;
- remoteInfo = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework; sourceTree = DEVELOPER_DIR; };
- 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLConnectionOperation.m; path = AFNetworking/AFURLConnectionOperation.m; sourceTree = "<group>"; };
- 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworking.h; path = AFNetworking/AFNetworking.h; sourceTree = "<group>"; };
- 05A55AB049CECEC06EAEF70A771CDF09 /* Pods-OHHTTPStubs Mac Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs Mac Tests-resources.sh"; sourceTree = "<group>"; };
- 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIActivityIndicatorView+AFNetworking.m"; path = "UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m"; sourceTree = "<group>"; };
- 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPRequestOperationManager.m; path = AFNetworking/AFHTTPRequestOperationManager.m; sourceTree = "<group>"; };
- 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPRequestOperation.h; path = AFNetworking/AFHTTPRequestOperation.h; sourceTree = "<group>"; };
- 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkReachabilityManager.m; path = AFNetworking/AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
- 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIProgressView+AFNetworking.h"; path = "UIKit+AFNetworking/UIProgressView+AFNetworking.h"; sourceTree = "<group>"; };
- 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 237F3259A7B268CAACD2F5748209D2C3 /* 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; };
- 2581C843D784C7210E0F1F28CC1D8B7E /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPRequestOperation.m; path = AFNetworking/AFHTTPRequestOperation.m; sourceTree = "<group>"; };
- 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkReachabilityManager.h; path = AFNetworking/AFNetworkReachabilityManager.h; sourceTree = "<group>"; };
- 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+AFNetworking.h"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
- 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig"; sourceTree = "<group>"; };
- 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- 37E0F4E141348926FBC92D88EFA6AFB8 /* Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; };
- 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFNetworkActivityIndicatorManager.h; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h"; sourceTree = "<group>"; };
- 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPSessionManager.h; path = AFNetworking/AFHTTPSessionManager.h; sourceTree = "<group>"; };
- 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Fmk Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIButton+AFNetworking.h"; path = "UIKit+AFNetworking/UIButton+AFNetworking.h"; sourceTree = "<group>"; };
- 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig"; sourceTree = "<group>"; };
- 4E318CCFBD5D073E639E811F8F9A6C5C /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist"; sourceTree = "<group>"; };
- 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIRefreshControl+AFNetworking.h"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.h"; sourceTree = "<group>"; };
- 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLSessionManager.h; path = AFNetworking/AFURLSessionManager.h; sourceTree = "<group>"; };
- 5588981C316302A690A0F11429C14EEF /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
- 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs Mac Tests-dummy.m"; sourceTree = "<group>"; };
- 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIActivityIndicatorView+AFNetworking.h"; path = "UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h"; sourceTree = "<group>"; };
- 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIWebView+AFNetworking.h"; path = "UIKit+AFNetworking/UIWebView+AFNetworking.h"; sourceTree = "<group>"; };
- 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFSecurityPolicy.m; path = AFNetworking/AFSecurityPolicy.m; sourceTree = "<group>"; };
- 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
- 6AA2C003357ABD3DA8301DF251E8DF07 /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- 6CF2B059BA1AB95373E84725C32C15AA /* Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs iOS Fmk Tests-dummy.m"; sourceTree = "<group>"; };
- 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLRequestSerialization.m; path = AFNetworking/AFURLRequestSerialization.m; sourceTree = "<group>"; };
- 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIProgressView+AFNetworking.m"; path = "UIKit+AFNetworking/UIProgressView+AFNetworking.m"; sourceTree = "<group>"; };
- 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPRequestOperationManager.h; path = AFNetworking/AFHTTPRequestOperationManager.h; sourceTree = "<group>"; };
- 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLResponseSerialization.h; path = AFNetworking/AFURLResponseSerialization.h; sourceTree = "<group>"; };
- 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLSessionManager.m; path = AFNetworking/AFURLSessionManager.m; sourceTree = "<group>"; };
- 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests.release.xcconfig"; sourceTree = "<group>"; };
- 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIWebView+AFNetworking.m"; path = "UIKit+AFNetworking/UIWebView+AFNetworking.m"; sourceTree = "<group>"; };
- 8E1A7DDB7C4021CE287CFDF5A2E4E620 /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
- 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIButton+AFNetworking.m"; path = "UIKit+AFNetworking/UIButton+AFNetworking.m"; sourceTree = "<group>"; };
- 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests.debug.xcconfig"; sourceTree = "<group>"; };
- 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m"; sourceTree = "<group>"; };
- A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIRefreshControl+AFNetworking.m"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
- A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIAlertView+AFNetworking.m"; path = "UIKit+AFNetworking/UIAlertView+AFNetworking.m"; sourceTree = "<group>"; };
- AA15E5980230D104177F5D221A1440F5 /* Pods-OHHTTPStubs iOS Lib Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs iOS Lib Tests-resources.sh"; sourceTree = "<group>"; };
- AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };
- B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIKit+AFNetworking.h"; path = "UIKit+AFNetworking/UIKit+AFNetworking.h"; sourceTree = "<group>"; };
- B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLRequestSerialization.h; path = AFNetworking/AFURLRequestSerialization.h; sourceTree = "<group>"; };
- BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFSecurityPolicy.h; path = AFNetworking/AFSecurityPolicy.h; sourceTree = "<group>"; };
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OHHTTPStubs iOS Lib Tests-dummy.m"; sourceTree = "<group>"; };
- C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests-AFNetworking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OHHTTPStubs Mac Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
- C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFURLConnectionOperation.h; path = AFNetworking/AFURLConnectionOperation.h; sourceTree = "<group>"; };
- CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIAlertView+AFNetworking.h"; path = "UIKit+AFNetworking/UIAlertView+AFNetworking.h"; sourceTree = "<group>"; };
- CEEDB64D3C641DE539BCB8F56E8F7B37 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m"; sourceTree = "<group>"; };
- D2E827C02742E7F76DD1338985938B4D /* Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
- DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPSessionManager.m; path = AFNetworking/AFHTTPSessionManager.m; sourceTree = "<group>"; };
- DBD4BB4B0B29CF374A8EDD63D4345E03 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch"; path = "../Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch"; sourceTree = "<group>"; };
- DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFURLResponseSerialization.m; path = AFNetworking/AFURLResponseSerialization.m; sourceTree = "<group>"; };
- DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
- E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig"; sourceTree = "<group>"; };
- E3F0B7C281209551AE420DD52232E7C8 /* Pods-OHHTTPStubs iOS Fmk Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OHHTTPStubs iOS Fmk Tests-resources.sh"; sourceTree = "<group>"; };
- E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+AFNetworking.m"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.m"; sourceTree = "<group>"; };
- E6F21C21892A686AB280180FD4969498 /* Pods-OHHTTPStubs Mac Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs Mac Tests-acknowledgements.plist"; sourceTree = "<group>"; };
- EC1C2CAE3AE61850A30DD027DF10505B /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"; path = "../Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig"; sourceTree = "<group>"; };
- FAA9A928A7FA702CDB4425640009C9ED /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 653C8A4D5BA2EC877700840BEF53ACDD /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A7C74D13A199C4367A5599A40B0D1E1D /* Cocoa.framework in Frameworks */,
- 7745D34FD7B95A486807E20F16E5ACB2 /* CoreServices.framework in Frameworks */,
- 82EAF220DAEF2E4F0D70A89DDFECA712 /* Security.framework in Frameworks */,
- BCEB37494E804EFF38A42EB7CFB411F1 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 8B3227DF02C2C27253B1AC2FBFF1464D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1FF3796AACEDD051A3AB350183208907 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- AAF9EA44D5832F6AB94A30AF7F26B112 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- BEC6D92DC480B498A524C26EE26CA27B /* CoreGraphics.framework in Frameworks */,
- EDB8AFAEF1221D5E9509F6D3DD2399D5 /* Foundation.framework in Frameworks */,
- 1021F23677C382672D1DB2D99077D141 /* MobileCoreServices.framework in Frameworks */,
- 65FAA62D88B42F6BEBA606AF270104E3 /* Security.framework in Frameworks */,
- C3A9FB02E7B742CE99B363D81626D356 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- B6EE4ED62BC7CEBDED396BFB546553FC /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- DE6B6686329084122345FBFFA4A5251F /* Cocoa.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D783A3B6252B0810C97C37D485DADB47 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1E647A46F885F867103C065ED7F71966 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- F8FC83EF19D48CD791486910BEBE2B9F /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A8AF6A9C783460F89650597A17BF55CA /* CoreGraphics.framework in Frameworks */,
- AB495171DED382DFC1D70601A0A338C6 /* Foundation.framework in Frameworks */,
- AEAD6D6409316FC1F334D4C9DBEA7D8D /* MobileCoreServices.framework in Frameworks */,
- F15585CD2CF41FAAA08BB23E33AA9EA3 /* Security.framework in Frameworks */,
- EE0E642DC896F9C3644FFC0086DD2A60 /* SystemConfiguration.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 0E3744EA9D5891D6AA568F3B7281445C /* Pods-OHHTTPStubs iOS Fmk Tests */ = {
- isa = PBXGroup;
- children = (
- 6AA2C003357ABD3DA8301DF251E8DF07 /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown */,
- FAA9A928A7FA702CDB4425640009C9ED /* Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist */,
- 6F7B4434545F4A2E12D09D4F0A260913 /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m */,
- E3F0B7C281209551AE420DD52232E7C8 /* Pods-OHHTTPStubs iOS Fmk Tests-resources.sh */,
- 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */,
- 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests";
- path = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests";
- sourceTree = "<group>";
- };
- 11DF502A4D9A15542CF481C74DE6D9A3 /* Pods-OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXGroup;
- children = (
- 8E1A7DDB7C4021CE287CFDF5A2E4E620 /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown */,
- 4E318CCFBD5D073E639E811F8F9A6C5C /* Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist */,
- BCB18ED2B42D018966442877F8BBB139 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m */,
- AA15E5980230D104177F5D221A1440F5 /* Pods-OHHTTPStubs iOS Lib Tests-resources.sh */,
- 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */,
- 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests";
- path = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests";
- sourceTree = "<group>";
- };
- 18EFE38F7F8B278AEDE0D27B44CB04C7 /* Pods-OHHTTPStubs Mac Tests */ = {
- isa = PBXGroup;
- children = (
- D2E827C02742E7F76DD1338985938B4D /* Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown */,
- E6F21C21892A686AB280180FD4969498 /* Pods-OHHTTPStubs Mac Tests-acknowledgements.plist */,
- 5DE21A96568E3DF4084ADF46552B0413 /* Pods-OHHTTPStubs Mac Tests-dummy.m */,
- 05A55AB049CECEC06EAEF70A771CDF09 /* Pods-OHHTTPStubs Mac Tests-resources.sh */,
- 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */,
- 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */,
- );
- name = "Pods-OHHTTPStubs Mac Tests";
- path = "Target Support Files/Pods-OHHTTPStubs Mac Tests";
- sourceTree = "<group>";
- };
- 230E86A8BD9B83601E52F747B7DB6E4D /* iOS */ = {
- isa = PBXGroup;
- children = (
- 92A044228AB3114781A377E43C3909F3 /* CoreGraphics.framework */,
- 237F3259A7B268CAACD2F5748209D2C3 /* Foundation.framework */,
- AC219907B414AAFA33561DF034AFD119 /* MobileCoreServices.framework */,
- 5588981C316302A690A0F11429C14EEF /* Security.framework */,
- DD1AB89774D78D6AE0376FE6FD78038B /* SystemConfiguration.framework */,
- );
- name = iOS;
- sourceTree = "<group>";
- };
- 3C5E87403580D550C0D70F60C7DF80E4 /* Serialization */ = {
- isa = PBXGroup;
- children = (
- B724BD062846F32DFB871025A4E7D206 /* AFURLRequestSerialization.h */,
- 7422A6A79CA2753E1F0F9A6FEDEE9DCC /* AFURLRequestSerialization.m */,
- 7806D592221531CC848D88CB4461FEDB /* AFURLResponseSerialization.h */,
- DD10BC10BEFCCD1C69A58A18458B700E /* AFURLResponseSerialization.m */,
- );
- name = Serialization;
- sourceTree = "<group>";
- };
- 5CC8F5917FB3FA7D911485C4E1C49EBA /* Security */ = {
- isa = PBXGroup;
- children = (
- BA3650D52BE66FE9535BAE2DC39CECD0 /* AFSecurityPolicy.h */,
- 619A46D83134C3E7B5D6EE0AB350D15F /* AFSecurityPolicy.m */,
- );
- name = Security;
- sourceTree = "<group>";
- };
- 5FE77AFBE70240C52D658B27BACFDE5B /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- F74F9A7D3453616153A9A2C1226CB17F /* OS X */,
- 230E86A8BD9B83601E52F747B7DB6E4D /* iOS */,
- );
- name = Frameworks;
- sourceTree = "<group>";
- };
- 7288B3837DDAA790C66E9E1141F0EEE1 /* NSURLConnection */ = {
- isa = PBXGroup;
- children = (
- 18077281CC34C19A04143171E98F7879 /* AFHTTPRequestOperation.h */,
- 259E186D044C1B028137AF4EF2C21259 /* AFHTTPRequestOperation.m */,
- 77BB367FBC390FAEB8B5000DB949AA38 /* AFHTTPRequestOperationManager.h */,
- 0DA497FB4C85042385802643B1B757A4 /* AFHTTPRequestOperationManager.m */,
- C9C563ECE471CD7D11B1091AFD067CC8 /* AFURLConnectionOperation.h */,
- 0151D60DFC083432A4745FDF13FCA298 /* AFURLConnectionOperation.m */,
- );
- name = NSURLConnection;
- sourceTree = "<group>";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */,
- 5FE77AFBE70240C52D658B27BACFDE5B /* Frameworks */,
- 844675680397CCEFD68E9BBC63ED25F2 /* Pods */,
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */,
- F47946A07A0E626A63A3B595A3600C90 /* Targets Support Files */,
- );
- sourceTree = "<group>";
- };
- 844675680397CCEFD68E9BBC63ED25F2 /* Pods */ = {
- isa = PBXGroup;
- children = (
- A765C4E2B4592079927FF623452E2BE2 /* AFNetworking */,
- );
- name = Pods;
- sourceTree = "<group>";
- };
- A765C4E2B4592079927FF623452E2BE2 /* AFNetworking */ = {
- isa = PBXGroup;
- children = (
- 03C7D02ABE607C8B5795F40F92C623EB /* AFNetworking.h */,
- 7288B3837DDAA790C66E9E1141F0EEE1 /* NSURLConnection */,
- EA2A03667CAA2933609D336B51464B11 /* NSURLSession */,
- DAAEAD53FECAE4569CB4FCEFDBCE121C /* Reachability */,
- 5CC8F5917FB3FA7D911485C4E1C49EBA /* Security */,
- 3C5E87403580D550C0D70F60C7DF80E4 /* Serialization */,
- FE8DA249328BADB4CDB572F85FFCEDD2 /* Support Files */,
- F4F22F5E6E75C5FBDCAF5F59E286C5D3 /* UIKit */,
- );
- path = AFNetworking;
- sourceTree = "<group>";
- };
- CCA510CFBEA2D207524CDA0D73C3B561 /* Products */ = {
- isa = PBXGroup;
- children = (
- C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */,
- C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */,
- 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */,
- 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */,
- 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */,
- 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */,
- );
- name = Products;
- sourceTree = "<group>";
- };
- DAAEAD53FECAE4569CB4FCEFDBCE121C /* Reachability */ = {
- isa = PBXGroup;
- children = (
- 2754BC29C1C43FF5F03E9CA0401C790E /* AFNetworkReachabilityManager.h */,
- 2033F47D817A9719788357C1CD7D1B1E /* AFNetworkReachabilityManager.m */,
- );
- name = Reachability;
- sourceTree = "<group>";
- };
- EA2A03667CAA2933609D336B51464B11 /* NSURLSession */ = {
- isa = PBXGroup;
- children = (
- 3ED4D26C75DC26A208FD9FA8C0CB5091 /* AFHTTPSessionManager.h */,
- DB9825A1F93F6D6946A8048EDE5FD40F /* AFHTTPSessionManager.m */,
- 51895A6B4ECC3F423FD7735AEF97C9B7 /* AFURLSessionManager.h */,
- 828996F0F19395E0F79B6649A9B32184 /* AFURLSessionManager.m */,
- );
- name = NSURLSession;
- sourceTree = "<group>";
- };
- F47946A07A0E626A63A3B595A3600C90 /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- 18EFE38F7F8B278AEDE0D27B44CB04C7 /* Pods-OHHTTPStubs Mac Tests */,
- 0E3744EA9D5891D6AA568F3B7281445C /* Pods-OHHTTPStubs iOS Fmk Tests */,
- 11DF502A4D9A15542CF481C74DE6D9A3 /* Pods-OHHTTPStubs iOS Lib Tests */,
- );
- name = "Targets Support Files";
- sourceTree = "<group>";
- };
- F4F22F5E6E75C5FBDCAF5F59E286C5D3 /* UIKit */ = {
- isa = PBXGroup;
- children = (
- 3C63FF5C2D2E3A2F311A9F715240E507 /* AFNetworkActivityIndicatorManager.h */,
- D0F4189464499CBCAD3EA1AD8EDE3696 /* AFNetworkActivityIndicatorManager.m */,
- 5F1C8B8514370D9B42DD849854EBEF00 /* UIActivityIndicatorView+AFNetworking.h */,
- 070D38BF9C04CAEF1D125C09DA819847 /* UIActivityIndicatorView+AFNetworking.m */,
- CB7520925295F3942EFA86591A8BD2F2 /* UIAlertView+AFNetworking.h */,
- A74C6C3647ADEBFE80D77AC0F2D89E69 /* UIAlertView+AFNetworking.m */,
- 45BD438356AA52E1932687CDE8509648 /* UIButton+AFNetworking.h */,
- 94D6AA12CE997883E17F002960300634 /* UIButton+AFNetworking.m */,
- 3395B074B222A10AFB560082E131245E /* UIImageView+AFNetworking.h */,
- E5861C661350EC21C857484AA70BF976 /* UIImageView+AFNetworking.m */,
- B5514C95196DB00842F76A09DC3F94B8 /* UIKit+AFNetworking.h */,
- 206EFF6F6F6515C328FCF064BE28E807 /* UIProgressView+AFNetworking.h */,
- 76F52FD22D338EF95B6CB148E1040450 /* UIProgressView+AFNetworking.m */,
- 50FAB402E8705CE4CFFF0251DF670A47 /* UIRefreshControl+AFNetworking.h */,
- A2E92073C415D6C3422B40F9E75D6744 /* UIRefreshControl+AFNetworking.m */,
- 5FDCFE3342236755B0B582114EBBDD06 /* UIWebView+AFNetworking.h */,
- 898868FFA5C248BE02E23B19620CB5BF /* UIWebView+AFNetworking.m */,
- );
- name = UIKit;
- sourceTree = "<group>";
- };
- F74F9A7D3453616153A9A2C1226CB17F /* OS X */ = {
- isa = PBXGroup;
- children = (
- 38A8ADD2FF90F73995E9A1FDE53D3875 /* Cocoa.framework */,
- 00DCC4FC132D570975C53182D29619AE /* CoreServices.framework */,
- C72C0969DCA14E625F50E8F2A307CEC9 /* Security.framework */,
- 6614A7CC62A6F17D946A29815E842B73 /* SystemConfiguration.framework */,
- );
- name = "OS X";
- sourceTree = "<group>";
- };
- FE8DA249328BADB4CDB572F85FFCEDD2 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 37E0F4E141348926FBC92D88EFA6AFB8 /* Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig */,
- E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */,
- 37B073AE13203D0CEBB6CBF76C80293D /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m */,
- 6CF2B059BA1AB95373E84725C32C15AA /* Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch */,
- 2581C843D784C7210E0F1F28CC1D8B7E /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig */,
- 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */,
- A112138561DF08D716A7011B7F6A7B2B /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m */,
- DBD4BB4B0B29CF374A8EDD63D4345E03 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch */,
- EC1C2CAE3AE61850A30DD027DF10505B /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig */,
- 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */,
- 5BC94F82CCC14F635185579B5C3B3D9A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m */,
- CEEDB64D3C641DE539BCB8F56E8F7B37 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch */,
- );
- name = "Support Files";
- path = "../Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking";
- sourceTree = "<group>";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 6883E216DD36E4F8570DB44B7C788DB9 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 600A82D91491C069768FCD6A2010BCB3 /* AFHTTPRequestOperation.h in Headers */,
- A027F9B7ADCA44C6A3A979078DC45E88 /* AFHTTPRequestOperationManager.h in Headers */,
- 4FF4FC4E9DA5EE77D00B35B9CD82F41D /* AFHTTPSessionManager.h in Headers */,
- 5C72659A6B26B9815CA33E73D9DC24BF /* AFNetworkActivityIndicatorManager.h in Headers */,
- 9A2F99D9A65589AA07E6459435AA1C0D /* AFNetworkReachabilityManager.h in Headers */,
- CFE236DC8EE5333C1F6F9ABF62B3535C /* AFNetworking.h in Headers */,
- AD9902747B7FC4F71295996DC7860EB8 /* AFSecurityPolicy.h in Headers */,
- E0F0FF6AEE4479CCDF53AF74F688BA55 /* AFURLConnectionOperation.h in Headers */,
- 7C95483A4097B18335A8BF7642DDC73B /* AFURLRequestSerialization.h in Headers */,
- 7676169F7841532A395931C3E17F66C9 /* AFURLResponseSerialization.h in Headers */,
- B6E5A5FD952689780B3BE34B718416D2 /* AFURLSessionManager.h in Headers */,
- AC1BE0DB30DF879464CC83953A7185A1 /* UIActivityIndicatorView+AFNetworking.h in Headers */,
- 45AD375FBF85A2BF93A637B148CB59F7 /* UIAlertView+AFNetworking.h in Headers */,
- 491471648F137C917DF4BAE1E349297E /* UIButton+AFNetworking.h in Headers */,
- 649EADE3D5751F8F6999B5B38770BEE1 /* UIImageView+AFNetworking.h in Headers */,
- 759A9B1F3FFC9108F24E43E61B4A9062 /* UIKit+AFNetworking.h in Headers */,
- B2F8321C37874E4E230F60AE522DAAFD /* UIProgressView+AFNetworking.h in Headers */,
- 0BAFE9A085FC34B4B93E5898BA006719 /* UIRefreshControl+AFNetworking.h in Headers */,
- CB8DC139D7E210F046BCFB2E5F6CB1D0 /* UIWebView+AFNetworking.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- C92A81659CDC1B3BFF22046015F5FD5D /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F0771CF11B589C897EB15E969C8A66AA /* AFHTTPRequestOperation.h in Headers */,
- 8F82ED27312CCDF4694204B19CE76BB3 /* AFHTTPRequestOperationManager.h in Headers */,
- 18BEFCC98B3B58EB4829B46666F5907B /* AFHTTPSessionManager.h in Headers */,
- 5DB9E56F532D487F5E2629951ADBDFEA /* AFNetworkReachabilityManager.h in Headers */,
- BEEC23C8BDC4DBBC2F558BDDB9C5281A /* AFNetworking.h in Headers */,
- EEC219A28F8AF94DCB4E2B7835BEA5EC /* AFSecurityPolicy.h in Headers */,
- 9CEC4434EE320A3C3503F66A56B3612E /* AFURLConnectionOperation.h in Headers */,
- E41E538DA6814FA77B07A3E031AAA15C /* AFURLRequestSerialization.h in Headers */,
- 4C339FF668B3A25065E5368D3609C5C3 /* AFURLResponseSerialization.h in Headers */,
- 062627F8F11F3D335F1463F776CC6D7B /* AFURLSessionManager.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- EAEE25A4AC7B3F5AE51F1039D63D8711 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1F532A0E0B95E91A62F03407927CB325 /* AFHTTPRequestOperation.h in Headers */,
- A4727C9657EEAB1477812E3013A7033A /* AFHTTPRequestOperationManager.h in Headers */,
- DC25BB10F0BBA01FF19EE93657F136E9 /* AFHTTPSessionManager.h in Headers */,
- 2B29F1FA99E275DEDD61A5F688D5C9C1 /* AFNetworkActivityIndicatorManager.h in Headers */,
- 438968EC789E0F717C25C550274AB650 /* AFNetworkReachabilityManager.h in Headers */,
- E68FC8E49E7D5E684944923270FC58DF /* AFNetworking.h in Headers */,
- 61EC95BBC175B1AF91C3EA5650C764FA /* AFSecurityPolicy.h in Headers */,
- D6C88C216B01055BC5CFD8A8FEB813B6 /* AFURLConnectionOperation.h in Headers */,
- 9AC12B669B09AB75BC0B7B42A05ADD21 /* AFURLRequestSerialization.h in Headers */,
- 0844ADE509A938C41B0727E30A322FDF /* AFURLResponseSerialization.h in Headers */,
- DD7D6461C4656587A76BF366CF7F778C /* AFURLSessionManager.h in Headers */,
- 09036FF02007A01FDD1BD0A574F0B2DE /* UIActivityIndicatorView+AFNetworking.h in Headers */,
- F4D2060AFE160CDA0AEA7D4E9C841A56 /* UIAlertView+AFNetworking.h in Headers */,
- 5D7EA100025E4F6FF0D6A55B4BD9997D /* UIButton+AFNetworking.h in Headers */,
- BD930F37304AB0B2F6954C115D4A3526 /* UIImageView+AFNetworking.h in Headers */,
- 99346425C623513B94D6C3BE0F164219 /* UIKit+AFNetworking.h in Headers */,
- 00E62B847EA2F65FC90029021AE728D7 /* UIProgressView+AFNetworking.h in Headers */,
- 10C3A789560233FF8783D60EE2CB545C /* UIRefreshControl+AFNetworking.h in Headers */,
- 753A5C45559ADFB2540B64D59872BFD2 /* UIWebView+AFNetworking.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 157F1424FCDD6A681FFF7347052EA6C2 /* Pods-OHHTTPStubs Mac Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 521A53173F1B21285588B948571426FF /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests" */;
- buildPhases = (
- 735E62236F218501FA26FCD0E87A3015 /* Sources */,
- B6EE4ED62BC7CEBDED396BFB546553FC /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- AD45BAECEA69C860F646AFEC2C3CF4AE /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs Mac Tests";
- productName = "Pods-OHHTTPStubs Mac Tests";
- productReference = C50DF11D2B358966138A6F29F4CC5DAE /* libPods-OHHTTPStubs Mac Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 7FDEE8A3220C557F6DD160C8406AFF4A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" */;
- buildPhases = (
- 515FFA8BF2EBBAAEAE6DDCCC9BB3932D /* Sources */,
- AAF9EA44D5832F6AB94A30AF7F26B112 /* Frameworks */,
- EAEE25A4AC7B3F5AE51F1039D63D8711 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- productReference = 9F8A85E381F095112141F59E2C8F4507 /* libPods-OHHTTPStubs iOS Lib Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
- 74560771C5D43FDFF6DF28750244E5F1 /* Pods-OHHTTPStubs iOS Lib Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = B12DF62DD2149E5FE75B382ED3E34975 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests" */;
- buildPhases = (
- 7543F87B5A0696A715941E7C0863FF7E /* Sources */,
- 8B3227DF02C2C27253B1AC2FBFF1464D /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- DB6F4DE2679832E4191FE8E1C0F92703 /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs iOS Lib Tests";
- productName = "Pods-OHHTTPStubs iOS Lib Tests";
- productReference = 2B40EFC7297CACA076BC4EB02C7BEB57 /* libPods-OHHTTPStubs iOS Lib Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 77F13D6AF7E34D95E0F727C84EA960FF /* Pods-OHHTTPStubs iOS Fmk Tests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = E3C8EE1527BC4D52D6A97B1E8B25164B /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests" */;
- buildPhases = (
- EEE264F3140235BB9CA2397DB8C3C06D /* Sources */,
- D783A3B6252B0810C97C37D485DADB47 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- EAAEFE275FC3C4C145BC5662021E8C5E /* PBXTargetDependency */,
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests";
- productName = "Pods-OHHTTPStubs iOS Fmk Tests";
- productReference = 3FDD9C1F287CB6F8D7701BAC1178E559 /* libPods-OHHTTPStubs iOS Fmk Tests.a */;
- productType = "com.apple.product-type.library.static";
- };
- 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 036698FA4899F2D024A129276F6FAE71 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests-AFNetworking" */;
- buildPhases = (
- A9D0A19C4251495563034B7ACB740544 /* Sources */,
- 653C8A4D5BA2EC877700840BEF53ACDD /* Frameworks */,
- C92A81659CDC1B3BFF22046015F5FD5D /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- productReference = C4BC45E5D903B7913CE22C29CF585154 /* libPods-OHHTTPStubs Mac Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
- F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 2595B7D5FBEA53F263C198F65D9BA7A2 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" */;
- buildPhases = (
- 10158E66693E5903992F21A3C17FB236 /* Sources */,
- F8FC83EF19D48CD791486910BEBE2B9F /* Frameworks */,
- 6883E216DD36E4F8570DB44B7C788DB9 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- productName = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- productReference = 20956D3138E6FF68DEBE84310456370B /* libPods-OHHTTPStubs iOS Fmk Tests-AFNetworking.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = CCA510CFBEA2D207524CDA0D73C3B561 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 157F1424FCDD6A681FFF7347052EA6C2 /* Pods-OHHTTPStubs Mac Tests */,
- 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */,
- 77F13D6AF7E34D95E0F727C84EA960FF /* Pods-OHHTTPStubs iOS Fmk Tests */,
- F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */,
- 74560771C5D43FDFF6DF28750244E5F1 /* Pods-OHHTTPStubs iOS Lib Tests */,
- 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 10158E66693E5903992F21A3C17FB236 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- E5809CB7E9B80EC02904EBF072207B15 /* AFHTTPRequestOperation.m in Sources */,
- BC8C8771E348826A0E001F36418C3273 /* AFHTTPRequestOperationManager.m in Sources */,
- 1C932875CECF31CA7C2B6A26E1E5A3E0 /* AFHTTPSessionManager.m in Sources */,
- ADFCEAFAC1424E9CFAA4EBDD0B8AEE48 /* AFNetworkActivityIndicatorManager.m in Sources */,
- 8AF9F36D21A64B89909D700B64FACE0D /* AFNetworkReachabilityManager.m in Sources */,
- AD45C703CCC77BAE5329D20FF96D48F1 /* AFSecurityPolicy.m in Sources */,
- 8E55AA32CB5BFB88BF1BE7B661D0D473 /* AFURLConnectionOperation.m in Sources */,
- 1CE3CB5854CF50C2262FA219012F2974 /* AFURLRequestSerialization.m in Sources */,
- 437ECFC28F231AB22E9202E864FA8F8B /* AFURLResponseSerialization.m in Sources */,
- DB59017FB5CF57B9C999FC168F67553E /* AFURLSessionManager.m in Sources */,
- 28F3B4D89EA1C8A014676F1D386D396C /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m in Sources */,
- 6703E45579332EB0B6979235783E5B14 /* UIActivityIndicatorView+AFNetworking.m in Sources */,
- E37EAD95E243E027EE7E873D8EB9581D /* UIAlertView+AFNetworking.m in Sources */,
- 19471BDEE2BC7C9817B53A97AF653CEA /* UIButton+AFNetworking.m in Sources */,
- 93AC19524F986400E92144DBE3319157 /* UIImageView+AFNetworking.m in Sources */,
- 46E2B7C3ADDF592950118FAE3C17FB17 /* UIProgressView+AFNetworking.m in Sources */,
- 48F0FCD4CD27D827CD2C8B805A3673AD /* UIRefreshControl+AFNetworking.m in Sources */,
- FC4CDC3A0E5E0DCE40E38A32485221BC /* UIWebView+AFNetworking.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 515FFA8BF2EBBAAEAE6DDCCC9BB3932D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- BE04EBD99F23E05DD57CFDDC543DEAB9 /* AFHTTPRequestOperation.m in Sources */,
- DA92ED909F56C8D4177A2C83BBE60769 /* AFHTTPRequestOperationManager.m in Sources */,
- 94A5736A0EC38CA01652B849EF60F84B /* AFHTTPSessionManager.m in Sources */,
- 82C3E6B636B783C0B311392BBD9BF5CE /* AFNetworkActivityIndicatorManager.m in Sources */,
- CFF91447C78D216352D482A31C9F5A81 /* AFNetworkReachabilityManager.m in Sources */,
- 60AAAC807EA458A49273DB6F55E2F936 /* AFSecurityPolicy.m in Sources */,
- C9F5F78994EF37121A691BFFC78B0487 /* AFURLConnectionOperation.m in Sources */,
- 69EF57311C170DC1DF039E247250C088 /* AFURLRequestSerialization.m in Sources */,
- AB4B8331259A23DF5CC3A4212E7415AC /* AFURLResponseSerialization.m in Sources */,
- D2D1AFA8C46D5353FE9C3899C5A7A459 /* AFURLSessionManager.m in Sources */,
- 8875AB1428DA5D9168F3559A3D1CCB90 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m in Sources */,
- 9F9729959DD97A6E0868F319B96693CD /* UIActivityIndicatorView+AFNetworking.m in Sources */,
- 738FDD277AE8A94CF23B0DED04FE1BB1 /* UIAlertView+AFNetworking.m in Sources */,
- 7638217928A9C4691B389C2B12CDB5C3 /* UIButton+AFNetworking.m in Sources */,
- FBD776460ABA96AFD8E6BE6F89A10D37 /* UIImageView+AFNetworking.m in Sources */,
- F23EFC6928775AF24E0FFFEAB5B96144 /* UIProgressView+AFNetworking.m in Sources */,
- 6E4BDF75676CC9BBA0BC140AA2253C11 /* UIRefreshControl+AFNetworking.m in Sources */,
- B614CCAB66BC6044A90A4AD98F539263 /* UIWebView+AFNetworking.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 735E62236F218501FA26FCD0E87A3015 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 2F147644DB7277F011A038925519E9D0 /* Pods-OHHTTPStubs Mac Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 7543F87B5A0696A715941E7C0863FF7E /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CBBB8FAAD7621035F9E6BD17EBFABE14 /* Pods-OHHTTPStubs iOS Lib Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- A9D0A19C4251495563034B7ACB740544 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 96B9F0D329D99B07D4B86F4689B63C29 /* AFHTTPRequestOperation.m in Sources */,
- 94050A36404DA05CD02F403CE1DD1906 /* AFHTTPRequestOperationManager.m in Sources */,
- F496D859E44DA30DD6DF9942B8BC37BE /* AFHTTPSessionManager.m in Sources */,
- 2BB369B883084E0B565E67BD8EC608A2 /* AFNetworkReachabilityManager.m in Sources */,
- 4C6003B6AAB41183728B539576F798C9 /* AFSecurityPolicy.m in Sources */,
- 303776F53A80420B45EA0A3BBFEAAF97 /* AFURLConnectionOperation.m in Sources */,
- 3B3BA8884C3AD01EE86D9A9FEC915F5E /* AFURLRequestSerialization.m in Sources */,
- C10947C431063D940DDF1B026BD1CC46 /* AFURLResponseSerialization.m in Sources */,
- 504905DA5DC2A16ADDD1AD52124932D8 /* AFURLSessionManager.m in Sources */,
- 92B11B96FF7836B2596D0B8B10EFFF65 /* Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- EEE264F3140235BB9CA2397DB8C3C06D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- A6436F219B1CCA5985A688509EF6060D /* Pods-OHHTTPStubs iOS Fmk Tests-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- AD45BAECEA69C860F646AFEC2C3CF4AE /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs Mac Tests-AFNetworking";
- target = 83C48F685E760798451C190B67532DD6 /* Pods-OHHTTPStubs Mac Tests-AFNetworking */;
- targetProxy = 012E086A02A43D7180DDBBF2313657B3 /* PBXContainerItemProxy */;
- };
- DB6F4DE2679832E4191FE8E1C0F92703 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking";
- target = 3CD6B8D1922BB8AF8A0A0C0A940E21B8 /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking */;
- targetProxy = 068A702EE4FA7CE77E385567A04864DA /* PBXContainerItemProxy */;
- };
- EAAEFE275FC3C4C145BC5662021E8C5E /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking";
- target = F218F9E6DFDEE3DC92EC9A3BF47E6B54 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking */;
- targetProxy = B8528B1299280339BD414B62FA73C91D /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 000765ED7A617EDF39ED16D88FAB7CC0 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-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;
- };
- 00764BAC345100435E81503F6E7E2B96 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9F6DC7C95D3FD570E9A029CAB1A4F4FB /* Pods-OHHTTPStubs Mac Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 0F297BAB6F2A99DFEF4EC61E632E4AC3 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 5F2C6E70ECDCD3A0E546BAB946B56354 /* Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 6.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 239B7571F6F685801FA90AE632DF8D26 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 3647ACBE1E21D5C040C8D06B24E52EBF /* Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 438510157A46B4077B687146E492AFAA /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 45E956527EEBCCD78C4FBEC20F119CD2 /* Pods-OHHTTPStubs iOS Lib Tests.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;
- };
- 53BE91774E58F8980F954A1766B4ACDC /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 79BDB9A9431AC7D922D09BDC00CD1C06 /* Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 5920F8CF02DB42ECD6586B192E6E0240 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- };
- name = Release;
- };
- 6B542E22CC067FA7370EB37EC163AA3E /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 6C5F39221353F2C163E8B174F9BD7CAE /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 86E5689E17CAE53EC519352E21BB0FF5 /* Pods-OHHTTPStubs Mac Tests.release.xcconfig */;
- buildSettings = {
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 75CA8C1B0D1ACE528DE9E8E74B8F4BBC /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- 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 = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 5.0;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- ONLY_ACTIVE_ARCH = YES;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- D18B1DFEAC9D133F4905B83BC2F96F86 /* 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 = 5.0;
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- DC86D2190DA43941590EDA9A6CC84B2F /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 384FDE2220A7E41A204258051579DA8A /* Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-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;
- };
- E1CD03C1F14EBDBD72653081713D69E3 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = E12801158742AC418CBDA458A326239B /* Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- };
- name = Debug;
- };
- E7D1FABA061D2376CEFDAF2C67DC72B5 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 108A0C47CE7A2E29C1F4148BEF9FB9A3 /* Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig */;
- buildSettings = {
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_PREFIX_HEADER = "Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 036698FA4899F2D024A129276F6FAE71 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- E1CD03C1F14EBDBD72653081713D69E3 /* Debug */,
- 5920F8CF02DB42ECD6586B192E6E0240 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2595B7D5FBEA53F263C198F65D9BA7A2 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 6B542E22CC067FA7370EB37EC163AA3E /* Debug */,
- E7D1FABA061D2376CEFDAF2C67DC72B5 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 75CA8C1B0D1ACE528DE9E8E74B8F4BBC /* Debug */,
- D18B1DFEAC9D133F4905B83BC2F96F86 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 521A53173F1B21285588B948571426FF /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs Mac Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 00764BAC345100435E81503F6E7E2B96 /* Debug */,
- 6C5F39221353F2C163E8B174F9BD7CAE /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 7FDEE8A3220C557F6DD160C8406AFF4A /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests-AFNetworking" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- DC86D2190DA43941590EDA9A6CC84B2F /* Debug */,
- 000765ED7A617EDF39ED16D88FAB7CC0 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- B12DF62DD2149E5FE75B382ED3E34975 /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Lib Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 0F297BAB6F2A99DFEF4EC61E632E4AC3 /* Debug */,
- 438510157A46B4077B687146E492AFAA /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- E3C8EE1527BC4D52D6A97B1E8B25164B /* Build configuration list for PBXNativeTarget "Pods-OHHTTPStubs iOS Fmk Tests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 53BE91774E58F8980F954A1766B4ACDC /* Debug */,
- 239B7571F6F685801FA90AE632DF8D26 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 3487d75ca9..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#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}
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m
deleted file mode 100644
index 2de591a2e2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_Mac_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_Mac_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch
deleted file mode 100644
index b9c163b498..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <Cocoa/Cocoa.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig
deleted file mode 100644
index 1fb0c387d4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests-AFNetworking/Pods-OHHTTPStubs Mac Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_MAC_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 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>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m
deleted file mode 100644
index f124d0bf53..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_Mac_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_Mac_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h
deleted file mode 100644
index 42c1cb9116..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-environment.h
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// AFNetworking
-#define COCOAPODS_POD_AVAILABLE_AFNetworking
-#define COCOAPODS_VERSION_MAJOR_AFNetworking 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking 0
-
-// AFNetworking/NSURLConnection
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLConnection
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLConnection 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLConnection 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLConnection 0
-
-// AFNetworking/NSURLSession
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLSession
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLSession 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLSession 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLSession 0
-
-// AFNetworking/Reachability
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Reachability
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Reachability 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Reachability 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Reachability 0
-
-// AFNetworking/Security
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Security
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Security 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Security 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Security 0
-
-// AFNetworking/Serialization
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Serialization
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Serialization 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Serialization 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Serialization 0
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig
deleted file mode 100644
index 6514eaa721..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig
deleted file mode 100644
index 6514eaa721..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs Mac Tests/Pods-OHHTTPStubs Mac Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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"
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 8eb1a3989e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m
deleted file mode 100644
index 8fb666b3d8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig
deleted file mode 100644
index 7f67782003..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking/Pods-OHHTTPStubs iOS Fmk Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_FMK_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 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>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m
deleted file mode 100644
index dbb179ac46..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Fmk_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig
deleted file mode 100644
index 72ec462315..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig
deleted file mode 100644
index 72ec462315..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Fmk Tests/Pods-OHHTTPStubs iOS Fmk Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 927eecdfe5..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m
deleted file mode 100644
index 174408f7fa..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch
deleted file mode 100644
index aa992a4adb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig
deleted file mode 100644
index 758125c1eb..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking/Pods-OHHTTPStubs iOS Lib Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_LIB_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 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>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m
deleted file mode 100644
index 391f5bc28d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Lib_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh
deleted file mode 100755
index ea685a22b1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests-resources.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig
deleted file mode 100644
index 19fb024a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.debug.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig
deleted file mode 100644
index 19fb024a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Lib Tests/Pods-OHHTTPStubs iOS Lib Tests.release.xcconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-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 \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig
deleted file mode 100644
index 6f43611720..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-Private.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "Pods-OHHTTPStubs iOS 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_TESTS_AFNETWORKING_OTHER_LDFLAGS} -ObjC
-PODS_ROOT = ${SRCROOT}
-SKIP_INSTALL = YES \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m
deleted file mode 100644
index 8aa49d1389..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Tests_AFNetworking : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Tests_AFNetworking
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch
deleted file mode 100644
index 80fbb8dc3c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking-prefix.pch
+++ /dev/null
@@ -1,5 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "Pods-OHHTTPStubs iOS Tests-environment.h"
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig
deleted file mode 100644
index b8aeea85b3..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests-AFNetworking/Pods-OHHTTPStubs iOS Tests-AFNetworking.xcconfig
+++ /dev/null
@@ -1 +0,0 @@
-PODS_OHHTTPSTUBS_IOS_TESTS_AFNETWORKING_OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown
deleted file mode 100644
index 59a175087d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.markdown
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist
deleted file mode 100644
index 899e8ae43e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-acknowledgements.plist
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>PreferenceSpecifiers</key>
- <array>
- <dict>
- <key>FooterText</key>
- <string>This application makes use of the following third party libraries:</string>
- <key>Title</key>
- <string>Acknowledgements</string>
- <key>Type</key>
- <string>PSGroupSpecifier</string>
- </dict>
- <dict>
- <key>FooterText</key>
- <string>Copyright (c) 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>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m
deleted file mode 100644
index 0fb6509a93..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import <Foundation/Foundation.h>
-@interface PodsDummy_Pods_OHHTTPStubs_iOS_Tests : NSObject
-@end
-@implementation PodsDummy_Pods_OHHTTPStubs_iOS_Tests
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h
deleted file mode 100644
index e1a5d47d3b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-environment.h
+++ /dev/null
@@ -1,50 +0,0 @@
-
-// To check if a library is compiled with CocoaPods you
-// can use the `COCOAPODS` macro definition which is
-// defined in the xcconfigs so it is available in
-// headers also when they are imported in the client
-// project.
-
-
-// AFNetworking
-#define COCOAPODS_POD_AVAILABLE_AFNetworking
-#define COCOAPODS_VERSION_MAJOR_AFNetworking 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking 0
-
-// AFNetworking/NSURLConnection
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLConnection
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLConnection 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLConnection 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLConnection 0
-
-// AFNetworking/NSURLSession
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_NSURLSession
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_NSURLSession 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_NSURLSession 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_NSURLSession 0
-
-// AFNetworking/Reachability
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Reachability
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Reachability 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Reachability 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Reachability 0
-
-// AFNetworking/Security
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Security
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Security 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Security 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Security 0
-
-// AFNetworking/Serialization
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_Serialization
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_Serialization 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_Serialization 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_Serialization 0
-
-// AFNetworking/UIKit
-#define COCOAPODS_POD_AVAILABLE_AFNetworking_UIKit
-#define COCOAPODS_VERSION_MAJOR_AFNetworking_UIKit 2
-#define COCOAPODS_VERSION_MINOR_AFNetworking_UIKit 5
-#define COCOAPODS_VERSION_PATCH_AFNetworking_UIKit 0
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh
deleted file mode 100755
index 43f08523e1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests-resources.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/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
-}
-
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]]; then
- 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig
deleted file mode 100644
index 89450f5b6a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.debug.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-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 Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig
deleted file mode 100644
index 89450f5b6a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-OHHTTPStubs iOS Tests/Pods-OHHTTPStubs iOS Tests.release.xcconfig
+++ /dev/null
@@ -1,6 +0,0 @@
-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 Tests-AFNetworking" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration"
-OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)
-PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h
deleted file mode 100644
index b41ddda60f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 100644
index b8419f1479..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/***********************************************************************************
- *
- * 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 OHHTTPStubsResponse 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 OHHTTPStubsResponse 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m
deleted file mode 100644
index 06d7363f23..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.m
+++ /dev/null
@@ -1,76 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h
deleted file mode 100644
index 3069ff32ec..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m
deleted file mode 100644
index d88fee9bdd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.m
+++ /dev/null
@@ -1,48 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h
deleted file mode 100644
index 77fe65e892..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.h
+++ /dev/null
@@ -1,100 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m
deleted file mode 100644
index 4de8996ae0..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Mocktail/OHHTTPStubs+Mocktail.m
+++ /dev/null
@@ -1,238 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m
deleted file mode 100644
index b0e14a093c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubs+NSURLSessionConfiguration.m
+++ /dev/null
@@ -1,88 +0,0 @@
-/***********************************************************************************
- *
- * 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
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m
deleted file mode 100644
index 1184dcad1f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// NSURLSessionConfiguration+OHHTTPStubs.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 06/10/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-
-#import <objc/runtime.h>
-#import "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
-
-
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h
deleted file mode 100644
index f4c2a07a98..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h
+++ /dev/null
@@ -1,199 +0,0 @@
-/***********************************************************************************
- *
- * 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.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import <Foundation/Foundation.h>
-
-#import "Compatibility.h"
-#import "OHHTTPStubsResponse.h"
-
-
-NS_ASSUME_NONNULL_BEGIN
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Types
-
-typedef BOOL(^OHHTTPStubsTestBlock)(NSURLRequest* request);
-typedef OHHTTPStubsResponse* __nonnull (^OHHTTPStubsResponseBlock)( NSURLRequest* request);
-
-/**
- * This opaque type represents an installed stub and is used to uniquely
- * identify a stub once it has been created.
- *
- * This type is returned by the `stubRequestsPassingTest:withStubResponse:` method
- * so that you can later reference it and use this reference to remove the stub later.
- *
- * This type also let you add arbitrary metadata to a stub to differenciate it
- * more easily when debugging.
- */
-@protocol OHHTTPStubsDescriptor <NSObject>
-/**
- * An arbitrary name that you can set and get to describe your stub.
- * Use it as your own convenience.
- *
- * 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, nullable) NSString* name;
-@end
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Interface
-
-/**
- * Stubs Manager. Use this class to add and remove stubs and stub your network requests.
- */
-@interface OHHTTPStubs : NSObject
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Adding & Removing stubs
-
-
-
-/**
- * Dedicated method to add a stub
- *
- * @param testBlock Block that should return `YES` if the request passed as parameter
- * should be stubbed with the response block, and `NO` if it should
- * hit the real world (or be managed by another stub).
- * @param responseBlock Block that will return the `OHHTTPStubsResponse` (response to
- * use for stubbing) corresponding to the given request
- *
- * @return a stub descriptor that uniquely identifies the stub and can be later used to remove it with `removeStub:`.
- *
- * @note The returned stub descriptor is retained (`__strong` reference) by `OHHTTPStubs`
- * until it is removed (with one of the `removeStub:` / `removeAllStubs`
- * methods); it is thus recommended to keep it in a `__weak` storage (and not `__strong`)
- * in your app code, to let the stub descriptor be destroyed and let the variable go
- * back to `nil` automatically when the stub is removed.
- */
-+(id<OHHTTPStubsDescriptor>)stubRequestsPassingTest:(OHHTTPStubsTestBlock)testBlock
- withStubResponse:(OHHTTPStubsResponseBlock)responseBlock;
-
-/**
- * Remove a stub from the list of stubs
- *
- * @param stubDesc The stub descriptor that has been returned when adding the stub
- * using `stubRequestsPassingTest:withStubResponse:`
- *
- * @return `YES` if the stub has been successfully removed, `NO` if the parameter was
- * not a valid stub identifier
- */
-+(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc;
-
-/**
- * Remove all the stubs from the stubs list.
- */
-+(void)removeAllStubs;
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Disabling & Re-Enabling stubs
-
-/**
- * Enable or disable the stubs for the shared session or for `NSURLConnection`
- *
- * @param enabled If `YES`, enables the stubs. If `NO`, disable all the
- * stubs and let all the requests hit the real world.
- *
- * @note OHHTTPStubs are enabled by default, so there is no need to call
- * this method with `YES` for stubs to work, except if you explicitely
- * disabled the stubs before.
- *
- * @note This only affects requests that are further made using `NSURLConnection`
- * or using `[NSURLSession sharedSession]`. This does not affect requests
- * sent on an `NSURLSession` created using an `NSURLSessionConfiguration`.
- */
-+(void)setEnabled:(BOOL)enabled;
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-/**
- * Enable or disable the stubs on a given `NSURLSessionConfiguration`.
- *
- * @param enabled If `YES`, enables the stubs for this `NSURLSessionConfiguration`.
- * If `NO`, disable the stubs and let all the requests hit the real world
- * @param sessionConfig The NSURLSessionConfiguration on which to enabled/disable the stubs
- *
- * @note OHHTTPStubs are enabled by default on newly created `defaultSessionConfiguration`
- * and `ephemeralSessionConfiguration`, so there is no need to call this method with
- * `YES` for stubs to work. You generally only use this if you want to disable
- * `OHTTPStubs` per `NSURLSession` by calling it before building the `NSURLSession`
- * with the `NSURLSessionConfiguration`.
- *
- * @note Important: As usual according to the way `NSURLSessionConfiguration` works, you
- * MUST set this property BEFORE creating the `NSURLSession`. Once the `NSURLSession`
- * object is created, they use a deep copy of the `NSURLSessionConfiguration` object
- * used to create them, so changing the configuration later does not affect already
- * created sessions.
- */
-+ (void)setEnabled:(BOOL)enabled forSessionConfiguration:(NSURLSessionConfiguration *)sessionConfig;
-#endif
-
-#pragma mark - Debug Methods
-
-/**
- * List all the installed stubs
- *
- * @return An array of `id<OHHTTPStubsDescriptor>` objects currently installed. Useful for debug.
- */
-+(NSArray*)allStubs;
-
-/**
- * Setup a block to be called each time a stub is triggered.
- *
- * Useful if you want to log all your requests being stubbed for example and see which stub
- * was used to respond to each request.
- *
- * @param block The block to call each time a request is being stubbed by OHHTTPStubs.
- * Set it to `nil` to do nothing. Defaults is `nil`.
- */
-+(void)onStubActivation:( void(^)(NSURLRequest* request, id<OHHTTPStubsDescriptor> stub) )block;
-
-@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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m
deleted file mode 100644
index 4fa31f907b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.m
+++ /dev/null
@@ -1,530 +0,0 @@
-/***********************************************************************************
- *
- * 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_feature(objc_arc)
-#error This file is expected to be compiled with ARC turned ON
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import "OHHTTPStubs.h"
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Types & Constants
-
-@interface OHHTTPStubsProtocol : NSURLProtocol @end
-
-static NSTimeInterval const kSlotTime = 0.25; // Must be >0. We will send a chunk of the data from the stream each 'slotTime' seconds
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private Interfaces
-
-@interface OHHTTPStubs()
-+ (instancetype)sharedInstance;
-@property(atomic, copy) NSMutableArray* stubDescriptors;
-@property(atomic, copy) void (^onStubActivationBlock)(NSURLRequest*, id<OHHTTPStubsDescriptor>);
-@end
-
-@interface OHHTTPStubsDescriptor : NSObject <OHHTTPStubsDescriptor>
-@property(atomic, copy) OHHTTPStubsTestBlock testBlock;
-@property(atomic, copy) OHHTTPStubsResponseBlock responseBlock;
-@end
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - OHHTTPStubsDescriptor Implementation
-
-@implementation OHHTTPStubsDescriptor
-
-@synthesize name = _name;
-
-+(instancetype)stubDescriptorWithTestBlock:(OHHTTPStubsTestBlock)testBlock
- responseBlock:(OHHTTPStubsResponseBlock)responseBlock
-{
- OHHTTPStubsDescriptor* stub = [OHHTTPStubsDescriptor new];
- stub.testBlock = testBlock;
- stub.responseBlock = responseBlock;
- return stub;
-}
-
--(NSString*)description
-{
- return [NSString stringWithFormat:@"<%@ %p : %@>", self.class, self, self.name];
-}
-
-@end
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - OHHTTPStubs Implementation
-
-@implementation OHHTTPStubs
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Singleton methods
-
-+ (instancetype)sharedInstance
-{
- static OHHTTPStubs *sharedInstance = nil;
-
- static dispatch_once_t predicate;
- dispatch_once(&predicate, ^{
- sharedInstance = [[self alloc] init];
- });
-
- return sharedInstance;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Setup & Teardown
-
-+ (void)initialize
-{
- if (self == [OHHTTPStubs class])
- {
- [self setEnabled:YES];
- }
-}
-- (instancetype)init
-{
- self = [super init];
- if (self)
- {
- _stubDescriptors = [NSMutableArray array];
- }
- return self;
-}
-
-- (void)dealloc
-{
- [self.class setEnabled:NO];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Public class methods
-
-#pragma mark > Adding & Removing stubs
-
-+(id<OHHTTPStubsDescriptor>)stubRequestsPassingTest:(OHHTTPStubsTestBlock)testBlock
- withStubResponse:(OHHTTPStubsResponseBlock)responseBlock
-{
- OHHTTPStubsDescriptor* stub = [OHHTTPStubsDescriptor stubDescriptorWithTestBlock:testBlock
- responseBlock:responseBlock];
- [OHHTTPStubs.sharedInstance addStub:stub];
- return stub;
-}
-
-+(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc
-{
- return [OHHTTPStubs.sharedInstance removeStub:stubDesc];
-}
-
-+(void)removeAllStubs
-{
- [OHHTTPStubs.sharedInstance removeAllStubs];
-}
-
-#pragma mark > Disabling & Re-Enabling stubs
-
-+(void)setEnabled:(BOOL)enable
-{
- static BOOL currentEnabledState = NO;
- if (enable && !currentEnabledState)
- {
- [NSURLProtocol registerClass:OHHTTPStubsProtocol.class];
- }
- else if (!enable && currentEnabledState)
- {
- [NSURLProtocol unregisterClass:OHHTTPStubsProtocol.class];
- }
- currentEnabledState = enable;
-}
-
-#if defined(__IPHONE_7_0) || defined(__MAC_10_9)
-+ (void)setEnabled:(BOOL)enable forSessionConfiguration:(NSURLSessionConfiguration*)sessionConfig
-{
- // Runtime check to make sure the API is available on this version
- if ( [sessionConfig respondsToSelector:@selector(protocolClasses)]
- && [sessionConfig respondsToSelector:@selector(setProtocolClasses:)])
- {
- NSMutableArray * urlProtocolClasses = [NSMutableArray arrayWithArray:sessionConfig.protocolClasses];
- Class protoCls = OHHTTPStubsProtocol.class;
- if (enable && ![urlProtocolClasses containsObject:protoCls])
- {
- [urlProtocolClasses insertObject:protoCls atIndex:0];
- }
- else if (!enable && [urlProtocolClasses containsObject:protoCls])
- {
- [urlProtocolClasses removeObject:protoCls];
- }
- sessionConfig.protocolClasses = urlProtocolClasses;
- }
- else
- {
- NSLog(@"[OHHTTPStubs] %@ is only available when running on iOS7+/OSX9+. "
- @"Use conditions like 'if ([NSURLSessionConfiguration class])' to only call "
- @"this method if the user is running iOS7+/OSX9+.", NSStringFromSelector(_cmd));
- }
-}
-#endif
-
-#pragma mark > Debug Methods
-
-+(NSArray*)allStubs
-{
- return [OHHTTPStubs.sharedInstance stubDescriptors];
-}
-
-+(void)onStubActivation:( void(^)(NSURLRequest* request, id<OHHTTPStubsDescriptor> stub) )block
-{
- [OHHTTPStubs.sharedInstance setOnStubActivationBlock:block];
-}
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private instance methods
-
--(void)addStub:(OHHTTPStubsDescriptor*)stubDesc
-{
- @synchronized(_stubDescriptors)
- {
- [_stubDescriptors addObject:stubDesc];
- }
-}
-
--(BOOL)removeStub:(id<OHHTTPStubsDescriptor>)stubDesc
-{
- BOOL handlerFound = NO;
- @synchronized(_stubDescriptors)
- {
- handlerFound = [_stubDescriptors containsObject:stubDesc];
- [_stubDescriptors removeObject:stubDesc];
- }
- return handlerFound;
-}
-
--(void)removeAllStubs
-{
- @synchronized(_stubDescriptors)
- {
- [_stubDescriptors removeAllObjects];
- }
-}
-
-- (OHHTTPStubsDescriptor*)firstStubPassingTestForRequest:(NSURLRequest*)request
-{
- OHHTTPStubsDescriptor* foundStub = nil;
- @synchronized(_stubDescriptors)
- {
- for(OHHTTPStubsDescriptor* stub in _stubDescriptors.reverseObjectEnumerator)
- {
- if (stub.testBlock(request))
- {
- foundStub = stub;
- break;
- }
- }
- }
- return foundStub;
-}
-
-@end
-
-
-
-
-
-
-
-
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Private Protocol Class
-
-@interface OHHTTPStubsProtocol()
-@property(assign) BOOL stopped;
-@property(strong) OHHTTPStubsDescriptor* stub;
-@property(assign) CFRunLoopRef clientRunLoop;
-- (void)executeOnClientRunLoopAfterDelay:(NSTimeInterval)delayInSeconds block:(dispatch_block_t)block;
-@end
-
-@implementation OHHTTPStubsProtocol
-
-+ (BOOL)canInitWithRequest:(NSURLRequest *)request
-{
- return ([OHHTTPStubs.sharedInstance firstStubPassingTestForRequest:request] != nil);
-}
-
-- (id)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)response client:(id<NSURLProtocolClient>)client
-{
- // Make super sure that we never use a cached response.
- OHHTTPStubsProtocol* proto = [super initWithRequest:request cachedResponse:nil client:client];
- proto.stub = [OHHTTPStubs.sharedInstance firstStubPassingTestForRequest:request];
- return proto;
-}
-
-+ (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request
-{
- return request;
-}
-
-- (NSCachedURLResponse *)cachedResponse
-{
- return nil;
-}
-
-- (void)startLoading
-{
- self.clientRunLoop = CFRunLoopGetCurrent();
- NSURLRequest* request = self.request;
- id<NSURLProtocolClient> client = self.client;
-
- if (!self.stub)
- {
- NSDictionary* userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
- @"It seems like the stub has been removed BEFORE the response had time to be sent.",
- NSLocalizedFailureReasonErrorKey,
- @"For more info, see https://github.com/AliSoftware/OHHTTPStubs/wiki/OHHTTPStubs-and-asynchronous-tests",
- NSLocalizedRecoverySuggestionErrorKey,
- request.URL, // Stop right here if request.URL is nil
- NSURLErrorFailingURLErrorKey,
- nil];
- NSError* error = [NSError errorWithDomain:@"OHHTTPStubs" code:500 userInfo:userInfo];
- [client URLProtocol:self didFailWithError:error];
- return;
- }
-
- OHHTTPStubsResponse* responseStub = self.stub.responseBlock(request);
-
- if (OHHTTPStubs.sharedInstance.onStubActivationBlock)
- {
- OHHTTPStubs.sharedInstance.onStubActivationBlock(request, self.stub);
- }
-
- if (responseStub.error == nil)
- {
- NSHTTPURLResponse* urlResponse = [[NSHTTPURLResponse alloc] initWithURL:request.URL
- statusCode:responseStub.statusCode
- HTTPVersion:@"HTTP/1.1"
- headerFields:responseStub.httpHeaders];
-
- // Cookies handling
- if (request.HTTPShouldHandleCookies && request.URL)
- {
- NSArray* cookies = [NSHTTPCookie cookiesWithResponseHeaderFields:responseStub.httpHeaders forURL:request.URL];
- if (cookies)
- {
- [NSHTTPCookieStorage.sharedHTTPCookieStorage setCookies:cookies forURL:request.URL mainDocumentURL:request.mainDocumentURL];
- }
- }
-
-
- NSString* redirectLocation = (responseStub.httpHeaders)[@"Location"];
- NSURL* redirectLocationURL;
- if (redirectLocation)
- {
- redirectLocationURL = [NSURL URLWithString:redirectLocation];
- }
- else
- {
- redirectLocationURL = nil;
- }
- if (((responseStub.statusCode > 300) && (responseStub.statusCode < 400)) && redirectLocationURL)
- {
- NSURLRequest* redirectRequest = [NSURLRequest requestWithURL:redirectLocationURL];
- [self executeOnClientRunLoopAfterDelay:responseStub.requestTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self wasRedirectedToRequest:redirectRequest redirectResponse:urlResponse];
- }
- }];
- }
- else
- {
- [self executeOnClientRunLoopAfterDelay:responseStub.requestTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self didReceiveResponse:urlResponse cacheStoragePolicy:NSURLCacheStorageNotAllowed];
- if(responseStub.inputStream.streamStatus == NSStreamStatusNotOpen)
- {
- [responseStub.inputStream open];
- }
- [self streamDataForClient:client
- withStubResponse:responseStub
- completion:^(NSError * error)
- {
- [responseStub.inputStream close];
- if (error==nil)
- {
- [client URLProtocolDidFinishLoading:self];
- }
- else
- {
- [client URLProtocol:self didFailWithError:responseStub.error];
- }
- }];
- }
- }];
- }
- } else {
- // Send the canned error
- [self executeOnClientRunLoopAfterDelay:responseStub.responseTime block:^{
- if (!self.stopped)
- {
- [client URLProtocol:self didFailWithError:responseStub.error];
- }
- }];
- }
-}
-
-- (void)stopLoading
-{
- self.stopped = YES;
-}
-
-typedef struct {
- NSTimeInterval slotTime;
- double chunkSizePerSlot;
- double cumulativeChunkSize;
-} OHHTTPStubsStreamTimingInfo;
-
-- (void)streamDataForClient:(id<NSURLProtocolClient>)client
- withStubResponse:(OHHTTPStubsResponse*)stubResponse
- completion:(void(^)(NSError * error))completion
-{
- if ((stubResponse.dataSize>0) && stubResponse.inputStream.hasBytesAvailable && (!self.stopped))
- {
- // Compute timing data once and for all for this stub
-
- OHHTTPStubsStreamTimingInfo timingInfo = {
- .slotTime = kSlotTime, // Must be >0. We will send a chunk of data from the stream each 'slotTime' seconds
- .cumulativeChunkSize = 0
- };
-
- if(stubResponse.responseTime < 0)
- {
- // Bytes send each 'slotTime' seconds = Speed in KB/s * 1000 * slotTime in seconds
- timingInfo.chunkSizePerSlot = (fabs(stubResponse.responseTime) * 1000) * timingInfo.slotTime;
- }
- else if (stubResponse.responseTime < kSlotTime) // includes case when responseTime == 0
- {
- // We want to send the whole data quicker than the slotTime, so send it all in one chunk.
- timingInfo.chunkSizePerSlot = stubResponse.dataSize;
- timingInfo.slotTime = stubResponse.responseTime;
- }
- else
- {
- // Bytes send each 'slotTime' seconds = (Whole size in bytes / response time) * slotTime = speed in bps * slotTime in seconds
- timingInfo.chunkSizePerSlot = ((stubResponse.dataSize/stubResponse.responseTime) * timingInfo.slotTime);
- }
-
- [self streamDataForClient:client
- fromStream:stubResponse.inputStream
- timingInfo:timingInfo
- completion:completion];
- }
- else
- {
- if (completion)
- {
- completion(nil);
- }
- }
-}
-
-- (void) streamDataForClient:(id<NSURLProtocolClient>)client
- fromStream:(NSInputStream*)inputStream
- timingInfo:(OHHTTPStubsStreamTimingInfo)timingInfo
- completion:(void(^)(NSError * error))completion
-{
- NSParameterAssert(timingInfo.chunkSizePerSlot > 0);
-
- if (inputStream.hasBytesAvailable && (!self.stopped))
- {
- // This is needed in case we computed a non-integer chunkSizePerSlot, to avoid cumulative errors
- double cumulativeChunkSizeAfterRead = timingInfo.cumulativeChunkSize + timingInfo.chunkSizePerSlot;
- NSUInteger chunkSizeToRead = floor(cumulativeChunkSizeAfterRead) - floor(timingInfo.cumulativeChunkSize);
- timingInfo.cumulativeChunkSize = cumulativeChunkSizeAfterRead;
-
- if (chunkSizeToRead == 0)
- {
- // Nothing to read at this pass, but probably later
- [self executeOnClientRunLoopAfterDelay:timingInfo.slotTime block:^{
- [self streamDataForClient:client fromStream:inputStream
- timingInfo:timingInfo completion:completion];
- }];
- } else {
- uint8_t* buffer = (uint8_t*)malloc(sizeof(uint8_t)*chunkSizeToRead);
- NSInteger bytesRead = [inputStream read:buffer maxLength:chunkSizeToRead];
- if (bytesRead > 0)
- {
- NSData * data = [NSData dataWithBytes:buffer length:bytesRead];
- // Wait for 'slotTime' seconds before sending the chunk.
- // If bytesRead < chunkSizePerSlot (because we are near the EOF), adjust slotTime proportionally to the bytes remaining
- [self executeOnClientRunLoopAfterDelay:((double)bytesRead / (double)chunkSizeToRead) * timingInfo.slotTime block:^{
- [client URLProtocol:self didLoadData:data];
- [self streamDataForClient:client fromStream:inputStream
- timingInfo:timingInfo completion:completion];
- }];
- }
- else
- {
- if (completion)
- {
- // Note: We may also arrive here with no error if we were just at the end of the stream (EOF)
- // In that case, hasBytesAvailable did return YES (because at the limit of OEF) but nothing were read (because EOF)
- // But then in that case inputStream.streamError will be nil so that's cool, we won't return an error anyway
- completion(inputStream.streamError);
- }
- }
- free(buffer);
- }
- }
- else
- {
- if (completion)
- {
- completion(nil);
- }
- }
-}
-
-/////////////////////////////////////////////
-// Delayed execution utility methods
-/////////////////////////////////////////////
-
-- (void)executeOnClientRunLoopAfterDelay:(NSTimeInterval)delayInSeconds block:(dispatch_block_t)block
-{
- dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC));
- dispatch_after(popTime, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
- CFRunLoopPerformBlock(self.clientRunLoop, kCFRunLoopDefaultMode, block);
- CFRunLoopWakeUp(self.clientRunLoop);
- });
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h
deleted file mode 100644
index 313b21a80d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.h
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// OHHTTPStubsResponse+HTTPMessage.h
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse.h"
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * Adds support for building stubs from "HTTP Messages" conforming to
- * the format output by `curl -is`
- */
-@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 OHHTTPStubsResponse 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 OHHTTPStubsResponse 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:(NSBundle* _nullable_)bundleOrNil;
-
-
-@end
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m
deleted file mode 100644
index 03d0e7a6db..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+HTTPMessage.m
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// OHHTTPStubsResponse+HTTPMessage.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "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:(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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
deleted file mode 100644
index fc8719df0d..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// OHHTTPStubsResponse+JSON.h
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse.h"
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * 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:(NSDictionary * _nullable_)httpHeaders;
-
-@end
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m
deleted file mode 100644
index aebcb99080..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse+JSON.m
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// OHHTTPStubsResponse+JSON.m
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 01/09/13.
-// Copyright (c) 2013 AliSoftware. All rights reserved.
-//
-
-#import "OHHTTPStubsResponse+JSON.h"
-
-@implementation OHHTTPStubsResponse (JSON)
-
-/*! @name Building a response from JSON objects */
-
-+ (instancetype)responseWithJSONObject:(id)jsonObject
- statusCode:(int)statusCode
- headers:(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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h
deleted file mode 100644
index 98dca2ff1b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h
+++ /dev/null
@@ -1,269 +0,0 @@
-/***********************************************************************************
- *
- * 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.
- *
- ***********************************************************************************/
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import <Foundation/Foundation.h>
-#import "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,
-OHHTTPStubsDownloadSpeedEDGE,
-OHHTTPStubsDownloadSpeed3G,
-OHHTTPStubsDownloadSpeed3GPlus,
-OHHTTPStubsDownloadSpeedWifi;
-
-
-NS_ASSUME_NONNULL_BEGIN
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Interface
-
-/**
- * Stubs Response. This describes a stubbed response to be returned by the URL Loading System,
- * including its HTTP headers, body, statusCode and response time.
- */
-@interface OHHTTPStubsResponse : NSObject
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Properties
-
-/**
- * The headers to use for the fake response
- */
-@property(nonatomic, strong, nullable) NSDictionary* httpHeaders;
-/**
- * The HTTP status code to use for the fake response
- */
-@property(nonatomic, assign) int statusCode;
-/**
- * The inputStream used when sending the response.
- * @note You generally don't manipulate this directly.
- */
-@property(nonatomic, strong, nullable) NSInputStream* inputStream;
-/**
- * The size of the fake response body, in bytes.
- */
-@property(nonatomic, assign) unsigned long long dataSize;
-/**
- * The duration to wait before faking receiving the response headers.
- *
- * Defaults to 0.0.
- */
-@property(nonatomic, assign) NSTimeInterval requestTime;
-/**
- * The duration to use to send the fake response body.
- *
- * @note if responseTime<0, it is interpreted as a download speed in KBps ( -200 => 200KB/s )
- */
-@property(nonatomic, assign) NSTimeInterval responseTime;
-/**
- * The fake error to generate to simulate a network error.
- *
- * If `error` is non-`nil`, the request will result in a failure and no response will be sent.
- */
-@property(nonatomic, strong, nullable) NSError* error;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commodity Constructors
-/*! @name Commodity */
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building response from NSData
-
-/**
- * Builds a response given raw data.
- *
- * @note Internally calls `-initWithInputStream:dataSize:statusCode:headers:` with and inputStream built from the NSData.
- *
- * @param data The raw data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
-+(instancetype)responseWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building response from a file
-
-/**
- * Builds a response given a file path, the status code and headers.
- *
- * @param filePath The file path that contains the response body to return.
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note It is encouraged to use the OHPathHelpers functions & macros to build
- * the filePath parameter easily
- */
-+(instancetype)responseWithFileAtPath:(NSString *)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-/* -------------------------------------------------------------------------- */
-#pragma mark > Building an error response
-
-/**
- * Builds a response that corresponds to the given error
- *
- * @param error The error to use in the stubbed response.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note For example you could use an error like `[NSError errorWithDomain:NSURLErrorDomain code:kCFURLErrorNotConnectedToInternet userInfo:nil]`
- */
-+(instancetype)responseWithError:(NSError*)error;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commotidy Setters
-
-/**
- * Set the `responseTime` of the `OHHTTPStubsResponse` and return `self`. Useful for chaining method calls.
- *
- * _Usage example:_
- * <pre>return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];</pre>
- *
- * @param responseTime If positive, the amount of time used to send the entire response.
- * If negative, the rate in KB/s at which to send the response data.
- * Useful to simulate slow networks for example. You may use the
- * _OHHTTPStubsDownloadSpeed…_ constants here.
- *
- * @return `self` (= the same `OHHTTPStubsResponse` that was the target of this method).
- * Returning `self` is useful for chaining method calls.
- */
--(instancetype)responseTime:(NSTimeInterval)responseTime;
-
-/**
- * Set both the `requestTime` and the `responseTime` of the `OHHTTPStubsResponse` at once.
- * Useful for chaining method calls.
- *
- * _Usage example:_
- * <pre>return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil]
- * requestTime:1.0 responseTime:5.0];</pre>
- *
- * @param requestTime The time to wait before the response begins to send. This value must be greater than or equal to zero.
- * @param responseTime If positive, the amount of time used to send the entire response.
- * If negative, the rate in KB/s at which to send the response data.
- * Useful to simulate slow networks for example. You may use the
- * _OHHTTPStubsDownloadSpeed…_ constants here.
- *
- * @return `self` (= the same `OHHTTPStubsResponse` that was the target of this method). Useful for chaining method calls.
- */
--(instancetype)requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime;
-
-
-////////////////////////////////////////////////////////////////////////////////
-#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.
- *
- * @param inputStream The input stream that will provide the data to return in the response
- * @param dataSize The size of the data in the stream.
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note You will probably never need to call this method yourself. Prefer the other initializers (that will call this method eventually)
- */
--(instancetype)initWithInputStream:(NSInputStream*)inputStream
- dataSize:(unsigned long long)dataSize
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders NS_DESIGNATED_INITIALIZER;
-
-
-/**
- * Initialize a response with a given file path, statusCode and headers.
- *
- * @param filePath The file path of the data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note This method simply builds the NSInputStream, compute the file size, and then call `-initWithInputStream:dataSize:statusCode:headers:`
- */
--(instancetype)initWithFileAtPath:(NSString*)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/**
- * Initialize a response with the given data, statusCode and headers.
- *
- * @param data The raw data to return in the response
- * @param statusCode The HTTP Status Code to use in the response
- * @param httpHeaders The HTTP Headers to return in the response
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- */
--(instancetype)initWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders;
-
-
-/**
- * Designed initializer. Initialize a response with the given error.
- *
- * @param error The error to use in the stubbed response.
- *
- * @return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
- *
- * @note For example you could use an error like `[NSError errorWithDomain:NSURLErrorDomain code:kCFURLErrorNotConnectedToInternet userInfo:nil]`
- */
--(instancetype)initWithError:(NSError*)error NS_DESIGNATED_INITIALIZER;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m
deleted file mode 100644
index db8d7efa79..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.m
+++ /dev/null
@@ -1,194 +0,0 @@
-/***********************************************************************************
- *
- * 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_feature(objc_arc)
-#error This file is expected to be compiled with ARC turned ON
-#endif
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Imports
-
-#import "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
-const double OHHTTPStubsDownloadSpeed3GPlus =- 7200 / 8; // kbps -> KB/s
-const double OHHTTPStubsDownloadSpeedWifi =- 12000 / 8; // kbps -> KB/s
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Implementation
-
-@implementation OHHTTPStubsResponse
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commodity Constructors
-
-
-#pragma mark > Building response from NSData
-
-+(instancetype)responseWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithData:data
- statusCode:statusCode
- headers:httpHeaders];
- return response;
-}
-
-
-#pragma mark > Building response from a file
-
-+(instancetype)responseWithFileAtPath:(NSString *)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary *)httpHeaders
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithFileAtPath:filePath
- statusCode:statusCode
- headers:httpHeaders];
- return response;
-}
-
-
-#pragma mark > Building an error response
-
-+(instancetype)responseWithError:(NSError*)error
-{
- OHHTTPStubsResponse* response = [[self alloc] initWithError:error];
- return response;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Commotidy Setters
-
--(instancetype)responseTime:(NSTimeInterval)responseTime
-{
- _responseTime = responseTime;
- return self;
-}
-
--(instancetype)requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime
-{
- _requestTime = requestTime;
- _responseTime = responseTime;
- return self;
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Initializers
-
--(instancetype)init
-{
- self = [super init];
- return self;
-}
-
--(instancetype)initWithInputStream:(NSInputStream*)inputStream
- dataSize:(unsigned long long)dataSize
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- self = [super init];
- if (self)
- {
- _inputStream = inputStream;
- _dataSize = dataSize;
- _statusCode = statusCode;
- NSMutableDictionary * headers = [NSMutableDictionary dictionaryWithDictionary:httpHeaders];
- static NSString *const ContentLengthHeader = @"Content-Length";
- if (!headers[ContentLengthHeader])
- {
- headers[ContentLengthHeader] = [NSString stringWithFormat:@"%llu",_dataSize];
- }
- _httpHeaders = [NSDictionary dictionaryWithDictionary:headers];
- }
- return self;
-}
-
--(instancetype)initWithFileAtPath:(NSString*)filePath
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- NSInputStream* inputStream;
- if (filePath)
- {
- inputStream = [NSInputStream inputStreamWithFileAtPath:filePath];
- }
- else
- {
- NSLog(@"%s: nil file path. Returning empty data", __PRETTY_FUNCTION__);
- inputStream = [NSInputStream inputStreamWithData:[NSData data]];
- }
-
- NSDictionary* attributes = [NSFileManager.defaultManager attributesOfItemAtPath:filePath error:nil];
- unsigned long long fileSize = [[attributes valueForKey:NSFileSize] unsignedLongLongValue];
- self = [self initWithInputStream:inputStream
- dataSize:fileSize
- statusCode:statusCode
- headers:httpHeaders];
- return self;
-}
-
--(instancetype)initWithData:(NSData*)data
- statusCode:(int)statusCode
- headers:(nullable NSDictionary*)httpHeaders
-{
- NSInputStream* inputStream = [NSInputStream inputStreamWithData:data?:[NSData data]];
- self = [self initWithInputStream:inputStream
- dataSize:data.length
- statusCode:statusCode
- headers:httpHeaders];
- return self;
-}
-
--(instancetype)initWithError:(NSError*)error
-{
- self = [super init];
- if (self) {
- _error = error;
- }
- return self;
-}
-
--(NSString*)debugDescription
-{
- return [NSString stringWithFormat:@"<%@ %p requestTime:%f responseTime:%f status:%d dataSize:%llu>",
- self.class, self, self.requestTime, self.responseTime, self.statusCode, self.dataSize];
-}
-
-////////////////////////////////////////////////////////////////////////////////
-#pragma mark - Accessors
-
--(void)setRequestTime:(NSTimeInterval)requestTime
-{
- NSAssert(requestTime >= 0, @"Invalid Request Time (%f) for OHHTTPStubResponse. Request time must be greater than or equal to zero",requestTime);
- _requestTime = requestTime;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h
deleted file mode 100644
index aa250547b8..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// OHPathHelpers.h
-// Pods
-//
-// Created by Olivier Halligon on 18/04/2015.
-//
-//
-
-#import <Foundation/Foundation.h>
-
-#ifdef NS_ASSUME_NONNULL_BEGIN
- NS_ASSUME_NONNULL_BEGIN
- #define _nullable_ __nullable
-#else
- #define _nullable_
-#endif
-
-
-/**
- * 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);
-
-
-#ifdef NS_ASSUME_NONNULL_END
- NS_ASSUME_NONNULL_END
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m
deleted file mode 100644
index cac24a636a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers.m
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// OHPathHelpers.m
-// Pods
-//
-// Created by Olivier Halligon on 18/04/2015.
-//
-//
-
-#import "OHPathHelpers.h"
-
-NSString* OHPathForFile(NSString* fileName, Class inBundleForClass)
-{
- NSBundle* bundle = [NSBundle bundleForClass:inBundleForClass];
- return OHPathForFileInBundle(fileName, bundle);
-}
-
-NSString* OHPathForFileInBundle(NSString* fileName, NSBundle* bundle)
-{
- return [bundle pathForResource:[fileName stringByDeletingPathExtension]
- ofType:[fileName pathExtension]];
-}
-
-NSString* OHPathForFileInDocumentsDir(NSString* fileName)
-{
- NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
- NSString *basePath = (paths.count > 0) ? [paths objectAtIndex:0] : nil;
- return [basePath stringByAppendingPathComponent:fileName];
-}
-
-NSBundle* OHResourceBundleForClass(NSString* bundleBasename, Class inBundleForClass)
-{
- NSBundle* classBundle = [NSBundle bundleForClass:inBundleForClass];
- return [NSBundle bundleWithPath:[classBundle pathForResource:bundleBasename
- ofType:@"bundle"]];
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h
deleted file mode 100644
index b3c301acdd..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/***********************************************************************************
- *
- * 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
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m
deleted file mode 100644
index 18b769e45a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.m
+++ /dev/null
@@ -1,52 +0,0 @@
-/***********************************************************************************
- *
- * 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"]];
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift
deleted file mode 100644
index 5229dcb808..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Sources/Swift/OHHTTPStubsSwift.swift
+++ /dev/null
@@ -1,179 +0,0 @@
-/***********************************************************************************
-*
-* 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) }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist
deleted file mode 100644
index bcee41c04a..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIconFile</key>
- <string></string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright © 2014 AliSoftware. All rights reserved.</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist
deleted file mode 100644
index d3de8eefb6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>FMWK</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>$(CURRENT_PROJECT_VERSION)</string>
- <key>NSPrincipalClass</key>
- <string></string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json
deleted file mode 100644
index e69de29bb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json
+++ /dev/null
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json
deleted file mode 100644
index e69de29bb2..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json
+++ /dev/null
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail
deleted file mode 100644
index 596a2ecdb4..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/cards.tail
+++ /dev/null
@@ -1,19 +0,0 @@
-GET
-.*/cards
-200
-application/json
-
-[
- {
- "gift_card_id": "91857d87-481a-490b-8aff-c72614094398",
- "card_number": "515676xxxxxx1234",
- "amount": "$25.28",
- "expiration_date": "2014-04"
- },
- {
- "gift_card_id": "0578ebe0-015b-11e4-9191-0800200c9a66",
- "card_number": "515676xxxxxx2345",
- "amount": "$55.38",
- "expiration_date": "2014-05"
- }
-] \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail
deleted file mode 100644
index 1755e71d57..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/login.tail
+++ /dev/null
@@ -1,11 +0,0 @@
-GET|POST
-.*/users
-200
-application/json
-
-
-{
-"user_id": "happyuser1",
-"user_token": "happytoken",
-"status": "SUCCESS"
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail
deleted file mode 100755
index a21bc088c6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/MocktailFolder/logos_ebay.tail
+++ /dev/null
@@ -1,6 +0,0 @@
-GET
-ebay.png
-200
-image/png;base64
-
-iVBORw0KGgoAAAANSUhEUgAAAUAAAACgCAYAAAB9o7WcAABkRklEQVR4nO19d5xkVZX/95x7X1V1nu6JPZlhGIYcJDOAggiIYsCIKCwGDLusq+6u4bfBiNldw7ImFFFRURHURVFJkoc4xCEPTOzp7ulcVe+9e87vj/tedfVMD9M9Xd1dg/X9fGqmu6vqvvvuu++8E78HqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqoIpCqTvccaqihKqAqARFHD3T87gdP9d96ftY0xqrOAjSl82BiV4x7zbKW4645ZPZrX6OqICICUIU3q0KhICUIgRikD239/VWP9d382jrT5FRhFDrpK0hQgMiF8YA5cs5bVy1sPvRW52IYY2c+9NBDb7n00ktf1tHRcfbixYuvPf/88/9jxYoVq51z1k7yvGqoYU+CAkB90PTcbRsvhYUlEA2/M0VykMCmKEN4ovevZ62Y8bLj6oKW2xRKBKo6AaggJJKZGSRFN3DUtes+/9rN+YeQ4Waj4iZn3dLrockvZDSSITOzbnHxlMUf6oECxtj6n/70pz/7whe+cOz5559/5xlnnHHN6tWrZ77lLW+56eKLL37Naaed9qeaAKyhhgRE5ADBPq0nffmIOW/++wc6r25rsDNU1U2pCqiqaAja4m1Dz9s1Xb/78NHz3nabqhgiI1M5j7HAyyCCwjHByP1bf/XxzsJTmJFZ4lRjo4bAk6S4lj+TCMYNOLWnLv6Xy5szcx8GgDVr1lxw8cUXv+zXv/718kceeeT8+++/v33//fe/7xvf+MZzF1100XUrV65cVTOBa6ihDKpiiThe13vXP3734bf+l6VMBFCAxIybkruFAFYjBdfLi5uPfOQ9B/1iFZPdBigBpFOqju4KCijEELELJX/St9e88cZNgw+5HDcagYOSgpRR0ZVLloBAUCiYDIbcABY17l+48OCr9yaxG43h4KMf/Wh3S0vLkx/72McO22+//frOPvvspmuvvRZf//rXL7722mtPyGaz/Vy5WdVQw54PInIKhyUtR31vv7ZTnspLb8Aw4n1dNDUCUAEHx1nT7J4duHv/J3tueQMAiDpGSWGpEsWFBIoYALC2+0/LNwzch6xpgMD5t3USHhvCIPilUCVAKIaEWLXgff9lKbNR4TX2DRs25A466KArAWD+/PlDf/jDH7BkyZLw+OOP//Y+++yjW7duPaMmAGuoYSQUCgNg8Pj2d38zoByEnBI4EX9Tp3kRgZ3GuHvLzz4KICCwU8KUzmGXUALDOoia2zf+5OMAgZQmfYICAUhh2GhBe+3eLcd1HjTzVd9TKKCkAGTRokUD99xzzzkA0NbW1vjhD3/4cmYeALBp9erVs+bNm3dlTQDumaiiO+BFBiUQWEQFS1uOvGJF6ynPFKJeA2JRAKxTIwRZFaqgOm6Onth287KNAw9dRMSAauA/UR1bQOEsiPF4z40XPdt357I60xwJ3OTKFQKICFADEhVHilUL3/czJn5KNTZEZAG4t7/97f965ZVXHrBmzZrlP/vZz7705je/+V8vu+yyV1133XVX3XHHHSvOO++8L9aCIHseSERJAYNJugsMkwNQdQ73yYemOp6qigXxluPbz/vh2m1//qSq8/FG8p+b9JkkWS8BBbY/2op7tv7yI/MbD/w+oD3pFKtACBKRiQG03rHlxx8RDUHUaFXd5B4UClWAmXQw7uF9W08eXNn28kugAoZVGIg4wX777ff9T37yk68855xz1p511ln3rlix4i1r1qwJrr/++plf+9rXvr1gwYK7axrgHgV/DzJTnWGCYYom4wVA9rzgmGJYMOmOb8FHVwFlQI1CDUZ5EZRBBEPGAYq9Z6z6+r6tJ3cWXL9hChQoFzs+B277wxEqIJrIW3KijrKmCQ92/W5ub7hlFpGBqqSSeGqhpX+SM3cGIKzrX/3uJ7bdPD9nW0Q0nvSJpXtT4ZxhSycuuPCnBDyi0ABEAkDZMDnn3Nlnn33+1Vdf/eb6+voH7r///pXt7e23X3PNNce+7GUv+4CI2FoUeA+AqkIBYoI6cZnv3fzsHx/fMri6LsPrRTVLCp2I24UUIAKcqGQNN1548rJft7fUP6QKJqp2TVABJR8f9WIjFUpMEPaiSOD/Z4B4F9qtEqAWUIjGlimbf7rnlg99/+FzvmKpISKigNR5DS3NTVZCkqw8KWdIZOKBuNO+Ztmnfr5q/nveIhoHTDaalIPtEpoEo0GiTplM25Vr//HWuzt+ubIhaBXRSTZ/EzBZGXBdfGjbWX85Z7//PUOhEe342CFVZZ/eVHouiaqyqjIzxzUTeA9Acl8RAFXw0p/e8PRLb75/00mmPiCnKLOGdvMGVIAY0FiixqwJXnPEwufaW+ofUigTqLoFoI8yMqlYQGPACohABAdwYosZYDhtdl+FLoVKSCMXTAGyIN4G0N0AiMlECsGyGau+umLWWe9Z233VvjluFafKkKT6AQCjdI0m6yRNwFm9t+OXbz5q7tu+nDENdyvUEGhybc1R4TNxFEJMRrcMPvamh7qvW5kzzbGq2ClJFSJSpyHluAGrFl74PwAiqFoQxdt9UolIRMSKiBKRU1XDzGDmGABqAnBPQeKcIqhm6zNAc11sGyy8BJwgiMAAIocok0EQUJULPQBeS5NEoyMFTKhAs0BayPV3x+FzF6D4zJkIn+sVt8Fo1MFwvXnE245RLSwTiI4iAIko1w3b+CdwY8A8U2Fncja3V/7ouoVzHupvgG1wZDIMtgIiB3UM53TEM4iGB6zMmapQjhvdxoFHzOPbbvrIgbNe+RaoKMhU6Ahjnonfhqn5TcAdm378D0NxD5qDmew0xlT4JQ2M9ksXHzX7bXcubjrs16LCTLy98CtNmplj5pJiOuKhUROAewQICkmKjoicE8CJjUVJJPWHTHB0IqgTOGcgRNXqGyZvbwqDTAwYBqASdx4kg3e9Mh669ZU6dM+JWlgbSbzesotpe3cZAwJCvDNNRRQtBLw5+RkAEANYHhi0PLUv1nTWUWurg61X5FoEmRaHoEFgs4mrIgbEJVHKCsoCUiIl4J7NPzv0wFmvnGyVc3SorwxUCBMZ6SqsO/yh7t8vqjNNcJr6ISZXByQQQg2lwbTyCQve8zH/t913iNYE4B4Cr6MBiaJSMugqsdV0u3+nKN13DEgDG76SQNUxyDgiAydDx2n/n1ZE2375H/HgDXVc3DjXqSr7otSAmQRsHBnylQjDZbSMZN+PdteQz3ce1iYIECGYIDSnL++g+zctxUCnQoRBMGAbIGgE6lsFDXNj1LXGsBnAiQCOS1pheR3J7miIDo5z3Oye7L9133W9d75rScvR3xONLcPE3v8rZXtkkkCpP9of674tV767v7ilqT5oi0WdJUp1xEoeUqGp4CUFwbpi3G2Pmv/ea+c2rLzB7wnebVdATQDWMIxpz6rYDqlSoc6AyIEsqfQfEXVf/slo6yWnaP7hLIuCDQTGhIEaqwSCOiTR3qRyQsYjbQhadl+ogpUxGBEOmdeNg+fNwv1bmtCUDeGUAQHCPqDQw+hZl0GuKYvG+SGaFsTI1ivUCcQlApiSgMluLoclQ33xEO7Z+suLlrQc/RMC5YFEKZts4QcgWURmsjIQdS2/e+sv3xmYeqiKLb1b8SMmoS319o/TAjcFc3Hc/Au+AiBxSe6+tl2tpk4NNcCruM74EjRGuO2X3y48dszq4roPnIb8w8awiTXICJEhKDKKiBPhV8E5kLebhWFYcPryrWAoRE3JtiZLsBkCG0F+QLH5UYtnb63DlseycJEB57xaSZKk7+0mVB3XmUZ5pPO6g7oLz76ZyKCUdDxFRco+9QW4b8svP7Ut/2wQcC6utNa3AzR5eJBxg66fjpr3tj/OzC2+XjUGwON6um2PmgCsoWqhiAOQdRp3nFF85pwt7uk3vUOLj8BYq8yBFcBCY05SVwDwhATM6HPw/lcLYCg0OLy9GwfPHUQ+ZBjSJCNEoSKesMoIMhkAkaJzLeOZ27LoXx/ABAIxaYLzbuQKEiBQWMpKX9iBe7b++vTkDVak1V+TDWWGifJx7xH3dPzircZkVXVyrcjhgAtp7Io8K7cYx7S/43/htV5DE8wHrwnAGqoT6gKiIJLBO08beuLkX0rXFXPIGBAHgIpVOBDJMB1SpRlH0nEhifPfKxqGFacv7wBAcElgStUb3FCA1f8OAmxWEeWB9asDbHkw6+doABVAVCHjENYlQaBiApPDmo5rXpGPtq1kMhFUpuQ+FhUCER7p/MM/bxx6FFluFMXkZuJI4pRlsIYyQEe1v/32lsy834g6Jpp4bXRNANZQHShjOVGNAyUThX2/PTX/xOnXcuHRQIOsU4hFqcxquwhQmrlTcT9mSvhJYFbkI8Yh7dtwwNxB5CMDTo6bKmAjRJoSrAFMBuh82mDD6izgAA48jeh4EqdTM1MJlOF61zH4eOuD2/707uQ9miwFcLjqQpnAzml05B1bLn+VZQtS4sm2vQmAIUbRDbjZ9StwzNxz/x8AEHEi+iYmwmoCsIaqQGoaqsZMZCPXf92Z0dPn/J6lB2oCkERTnfQ2KkQJWRacsXyrv/n0hY1ZTd7PZIH+DsXG1XVQR2DGuMvZVBWiAiIwscW9HT87F5DFTMZNdghYVZSI8FjXn9/9/MCa+hyaYoFUNtdnFPgqJY5DLQar2i+4tj5ovV7UVSwJvCYAa6gKkAoUzhAFIsUnzig8e96vSQesmoySxgxMkZ9/F2BSDEWMw+d3Y//ZQxiMGfyC6pfXH1UVNksY2MLYtCYLMYLxnhERgUAQFcrZxvi5vnvmPLHt1gsBQCaJtTrRUonJqEJn3bnpsnNJBWCykx78AAAyWnADdlHDIb2Hz3nTpwGAvduzIqgJwBqqA0QgNSKIqfDce79H4eYM2Hrhp4xq4sGLFQjY4bS9t0KVPDnBKBhp4XonoakX9G6w6Hk6B87tfiInw1gnRdzd8ZMPA5jtNaLJYUhQeB/jkz23nvlk3511GdukqjIl+aJKEoco4PgFF3w2Y+tuF3UBKlieWROANVQDSOGgBI06/veH0nf9fARBDFWv+ZEmUdOJ33DDEoIBMgDZ5BUk/5ffErrDN71PijAUEY5c0I39Z+UxFAdgKv90as6XpzwrID5KbQJF5xMBwh4DtmVCcDuumReCqEPOzMBj3TdlNw8+dgiRgU6OACT1kY5g9ebL3+uQh1UjWkpQr+SBRk6fyGgx7g/2ajzy2UNnve7rCiUirigJRE0A1lAFUCJYSNRxdLTlq+9ghpJ6RhagMnpfKYhKLABHkFjVRdA4TF5F/7/E8GQxJlaYkkzTZJZpi0cVRsY4nLFvB3yIYjgircMhC5SKuAGUelkwEIcOnU9aEJWJdUJ5xcquzggGQZyPu3FPxy8+BGCnmuhuQwH1dbZ4buD+Vz+67YZjcmZG7NSZ0gcqeThK2RjhGympOFLCSQsv/JLhoKgqvL2QnChqlSA1TD9UWMlI3PX9T1L4DGAzohqbSm51Xy1Aoi4mAAFl94o5d4By0A6lepBEUO2EFp6FFB6Dur6AiAVsVSFMmgizJPBJRBhMfIErZs7BE5051AeSEG8xlHaWn8uAKGwA9G8JkN8WIdfqIJFJNN0ygbkLiIrNmsb4wa7fnXHCggtf1pyZe4OqmoT+qRKLVgoDr978k08W3QAaTRvLZJHQkCZEZQSiQPKuyy5rW/XE/m2n/yKhG5Oxr87YUBOANUwz1IJMDBk4Nd7209NAcFA1lDZAqwgICsRwsUXTyXdl5vzj06bxpV8h07wWQB0N8wOSauxcuKHB9VzzSbf1G2dr8Ylm2EBBjtJ8a4UARBBl1JsYpy/vxNqtC30uoPjEaVbaSV2sL4cjA0iB0LMhQHubAGlOodCYeQ6UFRnUc3dhHdZs/e3nVy1419EKUUJlAuYqYolN3DH0xLse6rr2wBw3xoBMmswgNVCKARg4xEpkcNL89/+QyHT6umcbV9rrWDOBa5heqOdciQf+uhT5hwBjvBpQycQ2IlHnbGbOv9xRt/y604KWs97KpukeAvoJ0gF1nYDrBHQryHbb7OINmbn/cEF25S0XcOvr1iOOHGATgebTckEEA0GhyDhmYRf2mxWiEBowj6F3XKLpkBXkt1qEBQY44foZh35DqhAILNXhvs5fzY2l2MBkKkUXTZ7bBrnVW6740EC4FYYCFm8XV2D40eDZFZmMFuJes/+MU7esaD3p20nrSzcZfflqArCGaUK6kT2joev7v3/38sWYid9gaW6eQsmIRjHbmRestgu/8HICelSj7PCHOHkZAojI91lU0ihj7JxfZfe64iBuOiUvLgKRSaY9HLiIQcjaGK9YsQUxUtlgfNeyFzx7ArEiHAQKPRbGpN8dR3KJ+laZWW6INvY/tGTttuvfCwCiMmEVUKHMbNFT3Hjumq1X71dnmkUpqTiZNCouX9bmNI4t57BqwYVfBdDlyRYq7f3zqAnAGqYRqU/NQQZuFs92KArSCda2plUTRuEipszsYjD/P8+CYpAAAwTFJJUiUelIR/5sFBSE0DjDlO3JLPzMZ4hzIHXRcC2vv1kNqY8Iz9+GFa1F5GMeUaL3QnMkAkQFhS4altnjSS0mgo9mwyoUd2+54hMAZhAoHq6P3j1oQm1/T8eVJ2wrrkdAOZl8zgOChdW82xYcOOvMZ5e2HPU1UQf2jZewGxXUu0RNANYwDfAcb1C1AOAKT7xLC88shoFAlaFmQhZwyr1HxBAFuO3c9SazqJ8Qw/MJytj0LLKRagzUH/MdtLz8eXEaEBnZ/ptOGPU2wun7bIWTpCRjDJyyCoCIUehlONmdW1vAnoiBcrbJPdlzR+u6/ns+QsRQiNldS1ihzGSjwah7v3s7rnxdwPXwVA6TDCLEErl6noET51/4eQARUCGH5k5QE4A1TAu8IiUEAFp4aLFIPwjWec7ntNPGbo6dRFJV45gIsM2nfgXAIIDAq3k8VmGjALEBeoKmV2/1w+oO3zUE5CPC0Qu3Yp+ZeQxG7NM4xjQ6EOYJrjj+LD5NuQVJYdRo6Ppxz5afL0/fG1Zyx4kkgXHN1t+8ryv/TFPWNDhRmXQOaiaSvPbaw+ac/dj8xgOuVMTwPs1JPOZkDl5DDaPDMxiXTNXwKedd9wxSLdEP7C5K2Xci4MxcUG4llwSfKmg8zc2TqIStO+Jf1XIpaLP9EWNl1AUOpy/rhpOxM9MQC+KQ4IoWNE5qO6I045AhUJsxjfJI15/e3FVYdwwTx5rYx+OBQpmIXVGG9r5ryxVvYcqkCzepFjCBEEukjXYmjpt/wQ8BdEPJYJIrIGsCsIZpgXe2mQjALI2efW+yy61OUPgB3vvFnnEqUDvrWbILfuT9ixR7N9I4Iq2pAAlm5WHmQiXtsDgShoBCyDhq0VYsbysgX1YjrF6t3fn4jhDnGTRucUWlh4VCEHBOB8LNeGDr1f8PAFTGqlMq0uCLqtfKH+n6wwUbBx6enTUNsZKj8USnx3zIMjCZuOB6zeFz33TJ7Pq9v6AS2+GufpOHmgCsYVrgQ64EAPUSdswrFb2lQmMiJJcKCLFnEgkW9IEz/Z4zj3T8nrYk6GGaYUxbcuOOdtsoYgUaMzFO26cDsfgAhf+2pAUOow4voggL/vMTsfdUHQeUw30dV51WiPtPZDbON4DfFUo1LERknKjMu2vz5R9kDgCoFa1sVlL5IZPUHy1KwbZllgwcP+/vvu3foMm3uVETgDVMKwjQGHA9kzEyCABzK1WER4HrQaZpePDRPsJAPmIcs6gLy1pDDMXJHECJab8zKDQcs1/yhUYha+rdlvxa+0j3tQlLjIxRphLSvr6Pdf/pP5/tu6c+y00xEtIDqbgw8qlE4nP8JJQBHDn/rVfNyC16QDRmH2yafAlYE4A1TAu0lOvnAMk7ECKQiQg2Ak3spWwjIIgcAcwNEVABRxIZKNmdDpSEXRALodHGeMXeXXAxQ1lfmONAvSHrwiR4M8GJErGxMFjd8fPXqrqZxtcz71KSqCqzJxpYuXrzT86HOJiyCGzlRZGv9DGwWnRDZnbdXnL0vLd/059DWnM9+WwzNQFYw5RjxB2pITTuMYgRaBSWXgjDEb+P54UoDBAXA0SAKvkWmLt7LyXf82m4vFPT3Iezvd8vHwPHLuzE0rYQxYgT1uid32oKgot9as54WKJHm6uKQ9Y267q+u+uf6LnlzSBPaLDrL3ty02d675j3eO/N2ayd4QSSxJErn383vLCQSIZw7LwLrmwMZt0l6qxvH0WYCg2wVgtcwzRAfcdLBRTBgGk9+39Mw9MKyqIyQT8FyKqRwRw3rXp6+I+7gRKLDEZNgdn+uAQgFkZzLsSp+2zFd+5aiJwVXz88Wn2zl5xwovDxhwmcf8mvRiIuNvd0XPnuFa0nXQbSQfUtm3Y6ePpQumPz5Z+PJULWEomWJ3RXVhsjEEAGRRnkeY0H6JHtb/kEABCxK/ldK3rE0VETgDVMEzyrL3GuOzP/0x+YJP3C18uqgCrIIrwrpHmBJy7ownUtc7BhgJGzuypyY1TilveCVk3WNrm1PTcc2jH0+Ovn1K+4XDQmIpMkAI08jqoYJuM2DDzwhse6/3x0HTdLWgkyWVACjFIcSWiPn3/Bt7Lc+JSoM0xm0iO/5aiZwDVMOQgEqKTlbgSVAJDA/+/8z2N6ueHv6fDfFC6ASkDqAiW1NIaqjEojFkJjLsSpe3cgErtrogPlCtXYMhQKywENRttwT8fPP+TH9/rrqHMgOADmri1XXFSI+8BkIJPcZpNhtCC9dnHTof2Hz37D/wKY0ofU8DxePKCRL6XEj0oJb/nuvXYYd1IcIn9T8AEQTvhBVQkcARyBOAKM/3lMLzP8PRr5N0ISVFHEU+FM3x4pa/SqJd1Y3BKi4NLKjB0xHKbejSyd8nEA+LgqQcRRlrNY0/n7xf1hx37M1qUM2+VQFUNgdObXvfKBzt+fkDWNCf/h5G5xBSSGw0kLLvyV5cxDojFTBanux4oqEIBj3JyqBqoBRAJ16csFKi5QEQNRTe6slLmyJP5AtPuv4cKCJFvUH0dFjDoXoPwlEqhqAN1V7tXU35ATh+7k5539vvNzJIIXBpQEFyYaodjubwQaDlaM0KqUAB3WINWVveKdvKIA6gCNzfium8I5RkuuiNOWb0XRMYhSLyG2E3Q66o/jRdKgM02Npgw1xt35dW0Pdv7+Xf7st680UVJ4Gum7t/z4/YNRJwLOimA3S+h2CX/SDIOC66W9W44PD5j5qm8hYdCZDkyqDzBhcd3ujxje8ErDCaKqhlRLVZxegKWbhQDPcuswek56DsBsAJKMBYh4M8uJH0Y0qWJKLy5BYu9uYGtKf1MlsOWkTSODmKDMIE7ytPycmIh6ABS2n8hwdBPk91aaIAEiVVJOzBBCwm9GycfTW6N6lctyH1ZK95k0BmdVTYql/EPDr5WUnSFKLFfii96ICMoEKUmrUrJwUq42qumaCNcyk3F47cBI5kH+OicXn0pzBRBhVCE0PPoIkQlNaAqMIwTjkAue2LQQEY5f1Ik/PD4bm/MGOdakhlcSV8B2Q05YAyyHWMNZ3Lv1yvcdNe/cr1kO1ispEaCJrsBMxvUXO05+YOtvTs9xg3OA4UlLQEmuLruYHNlV7e+8ionvFnWWiONJOeQuMKkCcDRRpZRWcCugauEAsIDYxKBRFW+GcyIDAydJf/9LXW/fgBvoZxkYggz0sfYPDMhg/7EyMPg2DOUjKRRYwiK0EAJhBMQxSJ0XdolQLM0l9JmqFJQvA4GshRKBbQAOAmjGApksOJcFcjkx9fUBNTX+hBqbbreNTY3U1CjUWA/b2CRoaWnkpsYbuaHhJiJmlEi+y9LBFAQnga8QYIDIM92Ofv5Vg/IaXVUihbBTNYY4Zobb8RakUX9NuV4UQk40QyBHicQqq0nYiSwofQKqREQCUliFI8DGPooIbGfcEKmoSv8cdT3vUtcfQvuJ3BCcFgEtABL5c9MYqkUQUuGdZTKZvKjuq/GWksTfNRTEgHOMGXUhTl3eiR/ePR+ojwEoWMg/ZEl2XKcKQSDI2Lp4Y//DdY9t+/MnD5x5xjtFxTKZyFNx+QfHPR2/+HxX4Xk02VkUq/O6h5ZpqxWCN8gCGYy32ZVtL7t9/5mvuEBVwVNQ8rYzTK4GSGU3vIqF1whjMPuSd0KU7lPJF1ZJb0+D6+7qjTZuPi7evOkjsmlTr3R2WretJ9a+/rluaKgVxYJKMSbEDhCXqPWJVsUcKAAiToJqVGq4TUQgouSi+xuZ2Od1qQjSp17aBsH/LIkx7bVH/1cxKgoieptC30ZgkGXAWFAmUNTVkWls2mZamreY1lbLs2fHtn1+i5k/78s8d85tQWtrC82YMUjG3FLey5oVgIiFKoPZoVJ9HSqGVNsCO1E2jJjBwgRXjN2B67cNLX6+M9/5zNaBD23qGTqhazDuH8jH7NdSkAksZjdmXHtrrnmv2Y1f3HtO470L2+oHs9bcC4C8VwHGMDmUUkZeaDoSEDROyodjAqsCK1zctbdG6/IoPJ2T4pOfj6Onmrj4nFPXIeK66zQeWswaQaUIpRBQAZdZ7DtY5FRmtBgCG8Njbj6UFCUXQsKJSzrxpydnYfMQoc4AUhLwk/vIIzVG4XDvll+cf+DMM75qiB6GKiuBmUw8FPe+8Z7OK4+0tk4UYIWCUvd3BQMh3mJgCGIYtjhx/oXfBmhI4SzIxNP14J88AahqkyelUyKAOUpOco5EoXUdW1305NOfiZ5+cm7x+edDeW7DK6Vza108OAAUQsAJlNFOZHxegbWOmSMiAtXlvIZWUtWVidmUjDRJDamREQv/tCnLtVIFJVTkXoiilOs1XGTub8Q0fkbDx3QABDrsGoRzwMAAXF9vc/y8tKqLvekNAoz5is3lwK0t4Llz85lFi//PLl2cMXsv2xIsXfb/zIwWy8ydAIrwAiFhJ4YBczz9lrFSLGKYKLbM2dBJ/V1Pdp71m3s3vPnWxzsPemJL35KugVgRRYmGRCW/vvdolMWPLH+ttdHSivaWDS/db9b9r3vJwquO2GvmlYYpFpUhVTKGMcoDQFnVwROWmoiANpGhBh2653PxwF8zMnTb4cg/vlyjdaIScipHhUrTUQIi3x8JAJF/WJZiA+TdvukHUkvF++ZJyzrVjRmkiIQxI1fEy5d14of3zYeaMImveS/PpF5aFcqYRvdkz1/N8wP3z1/UeOjDCiFVAZHFms7fLe4YfAL1ttU5dcxEieuqopPwvIzMko+7+ZBZr31o7xmrLhMVIuI4bQY3HZigAEz9WyVPD6uIDzsYdkm1u4q4vaKnn70gXvtEf/jII/9aXPt4m2zYKPFgP1Mc+7B7YGKyNmYTgJqypOXOQ1WQKCsldT3JTSXe/Ek+Mvxz+Y1XPkzi/PAXN/1sid1IR/yX/kCl/0dGQ+A7zxiov2m8hmATx36gvpjbp576va6qzmnc2Q1s7giK99x3NkiBTAa2ZcbfmcVLTObAfS/NrDzgqczKfZ8MZs/+RTL5CCoGogbM4fDcJjGQkhiimsxdoaSi1rKJ8lF48K/uWv8v3/zz029b/XSXSDFmGOOQ4ZgyBiZrvPOWkgEoWb0yCipR0W0Fp3c+3jXvzkc7zvzK7x8/7cSVs7530enL//vVhyz6oCGCE7HMcKkCBggrGETWOY2sDNz+Tun99cei/uuW8NBjIqrMBFEgJiaQCQQG7ImpShcBIA3SJUypEdJeH8NCbzhYkPrpdtwfYwApSLwxUoyAE5d04bqnZqEzb5A1Cin3Xk4SFAJDhgbjPqze8rMvLGo89E8KAZONYyk0r97843+3lAUA6+8Lb5doaeNWAgRmQNRJYBr4xAUXfiJ5g5OG7iN8xVOJ3RaAmmzuxMSFigvAFBOzKACXHzo2evyJpfm7Vn8qvO++xviZdfPcQJ8/UxuAMxm29Y2xsj9tTjVGVYxWvz3aHhyhoZc7k9PNO0oAhsreH9f5lv08coyyA6umv6YpNCMPxQTKZoBs1rsC4M/VDQzY+L77EK5e/XcIAuK2tv7Mvsu/nj3iqJ/mXnLY1cHixY/CmA4FoE4MJN2cBCClZxo7B90Lg0YKfRVWhRjmulue6DjrI1es+dadj26ZS2wVdQYmYyMA1j+jPCPKjvPY7iEDgKwBB1CCjZxTc/2DHbj+wU3vP+vIha//6jmHn7f33KYbYifWcFI1TMaRKzZHvb+6Ktp6yX46dOcsuChgBsAsTFb8Cqf7yGG0mWz/hxG/juLbGxn4GR9SzYagCMWgta6AU/buxI/ub0fOxFClZI9O3sMsEeAc2Hr3aNd1h3UteP9bZ+YWXwEAD3dd+/ENg2ua60yr07Jev/4SVlYcMawbdF32yHlv/evCpkOuERXi1F9bebKtMWM3BWBJi2JVITA5MsYBaCw8+eQ/56+/4ZjinXcdEz29rkmKBXDGKmVyETe1gIisqhJEoCp2NEPnRYvUHPRbzKbPPbUWHGRARE5VBf399flbb2/K//XWD5qWpn/KrDzgjsyq4zfVr1r1LzxnFmk2B8CB4eBgypxUFUIylteqyBkm/sLvH/7Bv//8wdeHsUamsS4GxDoBuVFyy3a9Dv4mc179CYgJtsFCENA1d25cdNvjnVf+zwVHX/XGIxd+SET7iak+3vab8+Itn73IDd6zkkiViGMNMkn9mNhU4FUrGIqCI7xsSRf+/ORsbC14X6COELGVh99tgoBy1BOux4Nbr/7QSxf9wxVOooV3bb7i70AAq05qFCIhO6V6OwMnzr/wy0Ap3jeZpz4m7KYAJIITo0RKzM4V8g352+/4x6Frr/1weP+aNh0cUgQZobq62NRnOdHzAx+FTf1BiRbJL1Sh+OJGyQ2uAFSggLehbaCUzQoD6qJY8/fcfXT+ztsx+KMfva7hpBN+17p+doxcvXU2ABULIAzngE0cZQk5RBSL6Ad+ePfV3/vj2lebxlzRZDnjxNGENM7tNHNVhfPalzXNWenMR81v+q8b3nXx209u/+hp2YuGnvmHW6T7Z+1EcGysA5gUcQCNh30TVQ4iIHKM1oYCTl7WhR+vmY96W4To5Go/ifsFpEIZasQ9W399wEsXvp+e7LvtHc/03jknZ2c4ETGTOQkiI0PSySfOfv8tc+tX/EE0BpOpiqs2fgGoyqpKZDjWQmH+wJ//8vahq377kfCJta0KZ0x9g8OMGQpRQ6qkiYXvSSqB1OQlTUzUqliG6UHJKzbCT6beG+UcKQA2DDQ0OiWoDgzawd/85lUvf4xQl12C+w47Ao/NXwIRBw5DKJuKLKeqD0/HonTBd26/+qc3PPtq29oYiUhWhNJQeQWOVHbMxPR2TjnIGIqiWe6aa396xrm5S1bPnvFMm7B1xASomCQdNHFQ7jkbiKEoRISTl27Fn59qw7aCQSaY3Pn7CDdBSSkwddJRWFu3puvaHzzSfd2BTotgNJFMYhSCQIikSC22HcfPP//bAEICG99pfvqxawGYrI1CCaJEzAqi5qGb/npR/+U/eVfxsUcWaRCIaWx0RMTqnEEc+/y2Ml9SGgD8W9X2RkNpA4ziNyspNt4vakgBDQJQQ51THjTLn1+LAzY+hbVL98GNhx+LdbMWeG1QHJR31kphdHWJSg10PCRJ8/inH9975U9vePZVQWtdFIkEJb/QpFxDnyZhyCHKN9HZi282n9vvv2XbM4WW7PKMNrU4I87nzA27zPeszUQEhI7R1ljAy5d14fKH2lGHGK78eVJmIVUKaSoYVDhLDfjjus+dV4wHXNY0Q8RxxfUQ8qk03ilrpBhv41Xz372mrW7pj0UdTTXhwQthVAHoXUrJhfBxXFInlq2Nwo0bj+y75H9vyt94cx2Mcdw8IyYIq0hQGoCGY2sjx5zMU9kZtr9RtiMGKm244adgWWHCiK9WODXqBbGDOEy1LhcbAqGADEQN9n1qLZY+9zTuOeQI/OWQo5HP5kDFApR3VkUxyl8JMMpwEBIVNOaC+LvXP/GDS/7v4VeZGU1hLJIZKaQn49lNMBTDRS14/cKb8ZUDvoy8OFYx2rkupsx+jIxVqDoQGOVJpnsSmIBiRHjZsi788ZlZGCgYpD2Gy7ZgxaBl//rjW/QXtzqAmWCgk3BQ8okgIAKKOhi31i3JHNt+7n8AABGMKuKpoLsfC3a8S1LqbkpigaKsCsBa6r/uL9d0vO8fbh28/sY6amxy1FAPiLMiJd7bqgYl0VJfK0ogZs9jzgQlLj0pSf0DoFqtq1QDMgCGKAd1wAl334z3/PYKLO3cDK1vgFEZe/NHJC0ZRampLoOb13ac+NGfr3kV6uuhqpnJXwaCIQcX1ePEtgdw8f5fQ945RI4RWEdRUdG9XsFM0KRmlHi4zHDPAYGhiJzBzPo8TtmrG3nn895LD9/JnoICTIFhMuQrTCu/fkoEJQGTcVE8lDlu3nl/bc62/8ZpzASf9Fwt8oJ0u7t8RP2uExYmhXPBtm9/59dDP73iTNTVR5zNWnUusUJK+VUVD51PCP7qKqWJ2Kpek5U0jWQ4A0uTzxMzlMmBWHk4UGMAECQtWZqOCzd8XLaEq+4JsXFzERliCPy6O2ZkJA/KWPzh+FNx28rDwIWCjzK+4CYv0+pUkbWELLH2hZGQsUbTZMBJ1LaIFOosFmQH8IsjP4bZmQ0YcgYZODjy6e4aM+btC9S3CDRO66lTATiZ16R87SZ+nFQjswz0FXL4+E0r0dvLaF3ksODwIiTSyZfpk2Bmbw8CayxFmpFbMPSBg69+dS6Ycb2oMBOkKjhYEuxgApeEnyqLIehQAd2f/8I1Q9f9+TTTOiNSokBcDFbvuC7FDLVSeWgTBLMvgI8iQbFILo4sQCBDoExWOVvnKLCgjC2ZiSQKiUJIMQJFEUuUJxf7mk0yxiHIKmUyABFD3Jh6Xk8mfNRXfbKqAIDCqEPEOZgwxlk3/B4tA3249vATwVEReMFnk3fOEhRKjGKsKMIpGWsUSaw3ITWYPCigGXx83x9gUW4DuosWlh0USYEbCAJB92ZGXTOVfUsn4FcmeGfVKN/WNBO6PH9RCaAJU5akMd8wZsxuzOPUJV24/N65mAkp5dZOJtKMgRFifTTSkgkehRhx0Q0Fx8//u6/lghnXO3WBAUd+L05X2vOOGMUHqFBRJmZ1hTDo+uSnrglvvuk0O2tWLM4FJH5DjvCTJd+bHiQaALOqSqwD/YHGqmZGiw2WLVsXLN/rr8GixVlun5u1s2Y/ZZqaP625bJYyWUUSkYYoJCwSFYpFGej/t7irc2/dsrUYb9xcDJ95+oTouXVLZMtWL+vrchFlMgQRqxVo4r17SCNTZcdWgFXhyGKQDF66+kZk4iKuOfoUaDH0Jv1O+0xrSTMBAUTMqf3vxUDycCspDiXRiJJ2naxDqZIMSDnvMdpdnSpvTAIXNeHMuXfizLk3orfIsAlt07DQVrABiv2KfL9BY7ODxumxR18dLxiH14eSEi8/NyvQKFZVyw4lY9p/LjlhwnBhCBhEWSgcCClpye7ewMmIJAhjwkuXbsUf17ai6CyYgHgCI4/16NsLu0qbwQzWgusPFjQetOWwuW/6IgAY4jg9s+oQfR47CkAFASwSx9mez372qujGm06zs2ZHzsXBCBarKlD2hm9YI66/nxEYkzvs8HXZk098ou7Qwz4TzGvfStnMIxifnfShrP+fAKiK7B93dc8M1z66vHDzbZ8q3HlXu3R2GNQ3OM4EvjKjaqBeY1LGADXi+PvuhLMBfnfky8D5oTGzvKmgVBObCjgigA05RVKoI854ujDEbIigsE6QsjwjJagYLd3VC2MFgeGEkbFDuHDpLxE7hYBhKbUryr5IAJygbyujoZEgpCAZfSOmhC1pDlxJ7yISdsJOQyIKMhTM3ax1y7pMsNRSsMCpnVdvbPNjxPWfBDXUg+uFOMNKdQNge1S47p3fwODdAhPwRBOvfUSYMKcpj5cu7cUfuueAmBI+5z0cpE7i2J6w4F1fy3J933RQ3Y8VOwhAX7QM03PJd6/O/+lPp5lZbZGIC/xe0qrK3SO2cC5yNNhvsscctaHxnHMurj/00EuJOZ98hNW5IPV3kDd33Giu8zTISYAp6R6qIObHgtmzJJh9wl8bVp3w83Dz5ncMXfP7A4auuvrv3eCg44YGUee4eh4KACAgZfRTHVatvhXdDS24bf+XwOSH4MbytKeEsU8J0BhsjUok4gYj9sqQRS5j4lhAUTEO3KADDDuut6TKBBEqpaqMpqElxAgGgtg14LR5d+DglofRFzIMeX10h2ukPm6Z7xWEIRDk4POgdxYHoSSTQQkgCxURcbGYur05aHvrrdx4yq9s3QE3ws6+n7w6OyrFi0INAQ4gG5lZEK1khawXgifvvRn3FmcijhjYw0ujfNJzn13adOTzB898zY8BAU8D1f1YMVIAigTEHA3ecP1/91/x09O4bWaoTjPlZgRQJSosM6RYiNgGQfNHPvyJhtec9QUmUlJVdULEiY3GnvushJ1kcpRSEUBeVfeKFEiVoZ4CC0T5zNy538m8552Se/lJa3u/9LW/D9c8uK9pmRE7cVXWYEqgAIaQxStvux6bZ83G0zPng8JwF0ERoFRnTA7MRt1AFDc22ODsU/a67bSD5j26z9zG9ub67GdDF8/Y0lN8793P9BSuvnf9G+54dAtpJus4YE6F4M52CwFeGBuH17dfn5i8jJTDdDSVnRiIY8Vgr0VrnRvWNreffnL+/gIyVMNQuTFjF3zih5m2913EtsUC2utTHZQAUS3j+SMQl/n/jAKOKDCU8qtWCERAGDHaG4p46dLNcmvcggabuD33VKgqOcWqhe/6seXMBqfOGJo+vr9dgUos8qoMYom7u0/a8p73/1a6u5o4l1MRKV3zkt9vmi4QJQ5UsAHCUKm+jtr+8z/+ve7wwz6tIgxVQ8ZE6ec1iXaVuZJS2TbKbTksGYffLysL09Tn5AKIgoyNdKgws/Nzn/tj4cYbX8ItM0Sd76RVea/gyCjwb+4p4vnNIbLEZQ3Gh/1y5d9yxMjpEDrmLcB3z3wr8poEPMZwRGaIG4j4uP1m9X/3nUe8a/8FrX9URS/t6PjMRM4ddsUdz376w5evOaFzKMpx1qqIo9FWmkAgcpA4h32bNuBXL/kQCMWkMy0hZQbf4XsEuBioa7WYv9yVSFtGlUne2QVVF8EuCLJ7XXGZaTzhfC/khAmwIIp9CIzKNMnyyDIhYZhWIkb+qVf+WXqvPYVMxnmK/IlDAVgV9OUOw3cG61GINsMiM+yTrXoMXwGG0XzcQ8tbT+i54ICfHASi9cPPsqpQm3bAcEQzMQD6L7vs6/GG9U1UX+dQJvwAJPlxUz3F5NjJv+rvAqfMNOPfPuGFXxxlQKRkOBrxne1ZJnYI3Gz/5vYaLg3/NRmLyERkbAQnAdXnutr+7eOnZA477GHpH2QYM9HOrhPAjkdOwlXIcw7tm5/D8Q/f55loSik9aQBjRzCzusGITzpwTvS7j5z02v0XtP4idpIX1UAUVlVZ/CsTiwoR3/2O4/d+xe8+ctI75tYHkMiBdxI09aJaAAlw4swH0RIUECuXaM52tn4pS36Yd4iLXtiPdi0VBPX0S045F2SX/ehy23jC+ZDQEoGJjIJMCLAM+wfL17HsfyIlQuDXJLu50pKJyEhRgNn1+931krlvuq3g+kDEpShQtURLd45UVQAEzjFlcMKC936LiNerSqBavcIPSBNyRC0MS2Ht4383eO0fD+bmlkidmJQMtBrgExEUzMahv980nXfubxqOPPLTGkUZmCCiErvbFMFwpCKByeZ6Wy+66FJqbACi2CdUT90sdgmjAqNAiDoc/eBdmDWwDWIzoITPlUbJyWKGuiiiWS25wvfedeSprfWZ6yOnGWs4MkwREyIiEvav0DLFhglhLJmjl7dd+V/nH/6fCTFqNPoVUTg1AAuOmnG/d8qOEUwMVySEeQKb0dnpfR2CcSowwdyPXmobTn4HNDLEGQdf87dbl0iVJ0EekTCA2A09e8zct5/dkp2H2BW84OM9QAdMnOeGjOZdn91/1ss7VrSe9AVVBy5Ffqv3LLyn2/ekyOSv+s0/68AgyLIhbypU1dyJCDI0xGbl/tr8hjdeDAAwNqZUFZjiuRJzpM7ZzD57f7XhVWd83Q30M5impQ3j6CBIsjAhWTQP9uPIRx4AMjbR5Nm3FNjhW6woCP7ptOXXLJ/bfFPoXCYwFOIFVpgAl7EcxRLjLccsueQ1Ry7cJEPFgHhHBzhDoGIxN9OH/RrWoSjjeHQlKTKFAez8S8SqLjImu1cYzHzvV3xajMELzX9M4GxKljehYUZCwABCyTfNyLRuPmzWGy4vyAATmdg/oKplL+0ESTRfJHaByeGE+e/5EoD+pIBAS6QVVQr2vj9CvGHjO4ZuuXU/amgQSsrflKpr+ZXYaRhSw2vO/BVnM3epiwlM4i25CobnxoOkc1n9qac8zS0tQBRjsrPsx4pUuJECBoo8Mjjk8YcxY6AXYi18U6btc8IAF8WY3daAt5+49+cAwI69Y5cSjAHQ8Q+v2Pe7sAyM0kDDZxJYzG/ciDm5rYgFoHG1hBUUCgqnNOpSE9ipAqb1rCs4mPsINA4wocY7aRAw2MXndgecMPD7BThm7rn/25SdU4i1YElZp+XJPg5436mRguu3B8181eOLm4/4iYoDsx1uUlsdt8OoYBHvuB+6+a/HyrZuUCYQn+6i1RWOYlKNQhPMnqn1Rx35HQAgNpz6rXfw900RiClWdWT3WfGNzD7Ln9Ji3nofzvSDlBJKe29LxWTQ0r8N+61/CggyJaqkcjCRoBDxKQe1PbWorX6jc4rxPAc5+exx+7RddvherR2SD43hkdLNU9QHWF63ETkTIdax09H5uJYiLigkHl0AakKXRU2nJkGpiewMTWfsfYuVviVKkWcWATCzftltR8x8w28LbgBMNmnFVcUShAxEi8jYJpw4/31vBLBJiRiATEadcaXBZGwkIvvk77zzTWosNK02TzwpVXMKRIpiEWaffZ4w7fP/BFEudU6b7kkKYADJ7r/CeT/gdE9oGFQy2fzVFBBWPv0EIM5HXbdT0BTiAMLJKxf8EcBWhQY0WrnYzo5HJJHToC4Inn7pyjm3wAmwQ46dd/Avq9uceCDHt15EDBcDLtRRXEwEFWcRzBSbO/zLSex8gtpfYsZryBW/smWpkunYR84/9xuNdg4izRsm1rGTWkwutucNAAAiigtxH79k9ut/3N64co2qWC5XAKpj6jsFEwjx88/PjdeubeRczqW9LKoNBAZcjMyy5WncqWrU0/RJl1m8rKA8liST6QFBESGD9i0bMau/F95aHZk2I44oqM/giGUtEeADIuM6iHplHQCOW9EWwphS36lhMUoAx5if60oCIGM9RBqZFYgD4mg0bwP5TKlgSUjBzOepNKvdhCZN7QFAh2Qyn20EQDWum1W37K+HzHnt1UPSDwLLmNtwTjJG9inzyUNOirYxmBses+Cd3wKAhAZwjwEDQPjYoxdLXz8QBJOg41cGfhMQzML5/vfpnc4IaNIXg+bO+1cKDEhkPG79qYMqYmI05QexpHMTYAKMYOZgKJzY+W11fcvnNv4HAPiuXeM4BASUaOYHL2r9aK4hgDqxI3LRFQAJ2jJ9w43jxjh6mrIiAkTRKFkKaaVSsJAUmUo4sQmgCEADJDog9QZOeNSdH84BwPHt5328xc5CLCFX417yZEtG8vEAjpj7pt/Nrdv7DtGYGeNy5k47GACKjzyaLcWzqxaqCBjB7FmfAQDSKuLUSe4H29hQJJudElaP3UXql164ZWMyx3JrhYDIYdnMrDblMuHu5K+W+2LbW+rDRa1ZRSyejKCkjjEYERp4vBogvIGSFBhH4agzgAIwdnYSw3MTC44N5wkdChk8FAQH6KTVfxORijqeVbfskUNnnX1pQXqJ2Y41CDVlIBiNJG9m5Obj2PnnfTP5a/VUg44RvvfDuuctm2BneaXVAYUyWWhDw3oAVSVgSm0kc5bIGlRHCGR0MAgOhLmdW3xZBYYTkIkAiGLJzHoFdmyZPCZouhqCugxjUWu9QIYbbRMUEEKdUTQGEUTHG6RIx1K4iEdPsVCATVMprX3iW4WgkhfnBvxvk2IllTyBSp7rFke2n/Nsg21DpGHyicRjOo1SxpNYAEQsoRvCMfPe8X8zsgtvEHWWiV0VRQ3GBCtdXe9xWzoOQ2BigtqqlOBE3gQ2BmxtAAAqElSLFqiqhhjOB5A8d121bgOCQmDQ0tePlkIevZksyGmp0gUA5rU2lNL7KVG4xp6nl/gSlWEYWDCjgSHl6+E/YNjBspb3Sx/z+Jo073aRG13bTlMD0pOYYBSYQBDpZ8S9SdBicq8ugSPRGPPq9/3iIbNf897bNv5gfqOdrYKIoNOnpxAISaMPFHWQZtfvhaPb3/6x5L0qfuzvHDbe2mm1twcwZrSUreqBAmADk8lFgE9CTrjEpx0k3o4kY+PpbPI8VggM6sNBNOX70JttB2nou/UpOYDt3Bn1nweQTwT6uLp3pRatqIKJBme1BOugWIpUEpECymAWWApTz//Yx9dhQ0sdjaqd+rdLyQwVgbp+wHWlv1Vm0J0fDQQ2AIrHtp//uQc6rvmm08gZMtZTTEyPCEyr2oyaOHR5e1z7BT9qCNrWOI3YkBEkaVfVvv/LYWXbNmghD8nlYLRKI5g+4mQAYOiWWz5hnn7yPBTDjHKVuBwERBkbuo4tCxONpIo4AreD+u5r2ShEY7HgiSVK3H9QkKCtIdgMJKWowLiUqCRIoaQaANTX1pT7DkCfU8/1GaTbS8VriUhzEcd4KT0VvoAMIXYGIpJkQ5VFKOE726V2PE0geUUT14BGmxpEtsGQwU6YsyoIAhFExGFu/b5XHDz7rH+8c9Ol+9QFs0VVmFM3wzRsf2LCUDxgF9QfWHzJ3Ld+EwAYBlBfVTRaaWU1w7qeXqOxA4OrWwNM6sL7Lr30FJE0W6c65B/IU7eLMbB19VDiqo2mg7wAJHFo7BsAFiR/RpLnxYymXFnQtmRijk+IpKc/sz5IEmmorKxLIMpwGow/nprORQE4l/ijypVIP99YemHha4cnaAb7kfMPfpEEgDUEnZKYhJJnk+g+bt7bL72/86qLRWNlpMGk6dlfquREi+aE9ndfnTX1q0UdMYxoSqejgrQ6ak+AjXu2uXSDjpJVWn1oaHReb6iuGptk9XzTpSqG7wHsVbvGOASShHfAU8bDEJpyQWlHJHbreI9S+qkhFwiM9zyWX7FYDMK0rxbGeiUpyT/z50EicAKYUe43cl1l6d+7D4LX99zg3ca3aJ6qXUcg360Gcxv3/8HBs17zD3dt+tH8hmCWKqan3JzByLsBWtR0uB4y96z/ARRMzACGgx9VVAQwFljp638nABDUVJNStVOMEDDVM9nqmckLQwlwSQF+XVRAaebkNUDDjMAOL/FEy5lygUnG9gdRKMCKvLPod3UYn3U6HE0G+WiyKgMkQEqPn0gojTaDJQIowI5tgMYBMkIScpy/O+PZqqfUSlJ40uItx857xyUPbr3607EWHVNgPXP05Aqb7ZslKalTFXNC+7t+bzl3k4/8mqpL0RkPGEP5w5NLWr1mWw2Vg8JH1SGQQjjSflSCIUXGVODGSobIWVNSJSkxX73CZjHoWscpANNhvSBVGOgOdcSJilZ8Fio9SV707p6PCwDA5e98nxYfWwFDEU1xT0cCxwrB/MYDvrj/zFduyrs+y8pTooeWH4HJyJDrM3s1H/PAAbNe9TaviVdHEHIiYFcs+PKePSB6WUMloElLU8CIlgRimiLNRDAVqHhNRwgMDTMklLNXO4OOwgzY0QO5uxjbizSnChFNggGlsYmYncYduXjo4f+XfH533RIRgOa456qPUhSCENjpCDyon394/PzzP52zLXAaTkm+XZrU7t0ADgYGJy1873cN216Fs5gWQ7yyYIJw6lHb48+mhl2inM2+3kXbXXTfHD5VcSrhzmHentV42Fe0vjgLAHYza9L3D1FNcwnLxzCeiWnwL0sAACq7sbWVAAMN17dK90/magAoZDfE9cTBMKLqsKDx4J8e2Hrq4wXttwQz6bZ4+tAisBbcAO/dsqprZdspl/qkeRNXSQ7GhMAp7WxN+9uDMIGN57NO/HM99tGEsjcVgSFkM5WL4+SsgdmuKxUlGtsz+XnekzWOHNrSbBN/H6lLzNwRi2KZ4Ny2q88W13uskHVQMUhJfnea7JX4EKGkGqsCrcUtX/o/hB0BUSC60+9VGjvcjareF9hbH8zckNDVTclUfIIrQcWhKTOnlLVJoNG5yPYwsPfNvAh02b8RjHzq7t5V8yEBRZEng+BzJEadoTDAMdYNzcegq0OGpLKpveoAykDzDyLc9rPP+pFj9k2tUgKu0WZGPvdR4yxRgLj36te7rd/aH8Y4UmFO3AfThCStcVx56RUDAXC+ZWf6tHpRiAz2PvDqLd2qYSTSjpUeu3fVUqZHrUSwYzfg76AYG4fmYlNxtieOrugRFIBjJkA2ffKlWnj8LaBMRBobkATqs3bLP28ACaCOSYVAQSEeuOMtxefe/R0lJ/C9oqFIuZ6mTQYlpTTTgxdjlMCKqi+D2lNALCUbajh58cWOUhIJmKDERkCQcWruvkzJ38QxGJrLlg0/dcvom1tF6Aob8cTgYiyvew75inaWZygpqTGgcJMWnj77isyyn6vN7f9z3zSeAEhZH2d2AIkSlFTaw67v/3O4/qMfYNdJ4IAA58VfWRlexfFilC57AKzJBI6UjCKtMaze66BQ6OAgq6TNpqp3rpXFcODCGiAXChoQIaecBFbHKMC8EQVHjEYMAZxBqapiCkFiwCaCKGN156E4c/YtJe+aP9P0XHZvYn4fJ981Flp4SIuPn/hjN+dDHzAz3vglk12ynihzH3xKiyjil2n4nI0G7zxZO799kfTdVEfGqBoLVpdU6nlavuH5VXjR1JXxQlRXkv8wXhRW7whY1OVMqRU4Tf3NMGYohFS56d1/d2umfcF9Eoa3gnEOgCMBDGKK87OmCArAEPBrAFlV5MF4YPXPHvvR7U/1aVPWeCIXjOOyqUKYEEiMZ2cuAOLiyNKlKbj+Surz2U0Bt247AD1RPQIeglMfgfZVVbsfcPCVYqkAESZjFa6bog2fWOW2fPkErluxAcH8ewm5nGAwkmjTKiqsa9aoAwAU1sQgBCRJPXE6FqkqoEgIcCuBtOOKylBTOuFKjV0JpInQ1SoWJgrL9U3XKOgsAqRa6KV2gE/cFVZw/XGr/i2z9143QMSA+WfTPbWpgjd+ITGwYu2jLVgjm2EarW+5Ma7dmWYlKyiKgNhBpyEHVBWACfHY0Hzc23cwTpx5B/pD9oQ0lZ6MCikTszGq0uPigTvbSfFqRdLtg+GUEZOxBIChUiJt8Mvl61tFVUl9G4lKzZFUDRFileJLoe50kPkDoBaePKKGSYal5qY/EnCWj4QQV2U1SKLliIshhQIDgDpnfenKiyEbaedIcrFYQUSkQiLGDA4CYR5UDECiKZnLmECg5MMOSpxof1O7hOl8jSqcWPx+8yqcNPMOAK6kzVZ8VgqCCoEMsyEhpVhJUsPbsIIkOf7I7ykAA3ExOLu8n1tf/7zb/MUDicw4Vn0XUyOApQjSPECNlRiyhjHCmrYWA8P+QletKFGAGCqK2EV+07GJlVmq0VNSSfjEK3UEYu+uY6ds/HokwqvEEj8WKHzQi4bZhaf6svtgjIGQAqaIP3YchQv3WowF2ecQOgsmV/E5pb67pAseC5SpZMm6pCBmRxeQ+oy3mBxs0P6xf6Ng8VC86YvfIyD2hcYTnGnS6F3dEFSGQNyI6vUBvvjAtrklpiCAyrhtqSkHq4LDogN8NO5vZYsMF6SrT9wsq9sZl/CD97/5Oy7JiUvdW+mxKr4HygP2w39TKFQNmEL0ho24/PnXoM6mKcqT5IlJVc/0lewhBqO8569PhU6/Y0Wj2JoZL+80bRdcRrA5sC01nZ+IrzIZIMm/7ofK0IRGqmH8YG5tJarLJsmjVSxSmEhdDPQOvMT/oYrmmvIkYXIeIUkODEaKp2GRRYkjYCwv384r8QFCPQXWdm6PSp4DbSf4hjOXvGBUMBAM4hfrT8YDPfujMXDwgR0acZYVmUsSXAHpcPlzKfthZDDJy0oDSOiQmY/Mom+ezUAfzAxL3IgS68yE8yaScdwgVAYnNFIN4webmTO7eEYLKJKqbL83DCI4hfRsezcAaDWxt3o71aqIhTir4ixEKvxyFiKAqPGyQ0GqiUmXau+7fpECLJRaXv72TR98iaStZEhEy38a5QGrIDAJhuIAX3ryPDjNgGl0sqfJ352U8CV6lwuJxFAKskv+9zuU2/c2KKC2FTBBqeE8TdQNqADIADoAuJ7kb9Vtib2YwNzc/HMzp/0ukZjTfq7VCU+BFHZsTsoTq0xYM8fEHBObmNjEYK7Yi5hj+DEBY5wGWSDIQG0GGgRQm4UGmTG8AmgQQJL/vcaTaq7D6Q46aTfg6NdMlGGy/fjr1oPwzWfegbbAQRLa9/KZTL5YUIAcCBZQjUSc5UXf+B63vPpCaAQQYMzMvxDX90EQKIzPiplQHM4HWVgBRJursynZixgWAILFS7hw220QHwqrUihgCbJ+Eye/VY2+qqBctHnL6zHQRzApS1BlZ6dQYqViDCxu3roFTT1daAoNnEuPNbZbhxJyo9AE6GloTEKuDEAABiInKEb+OTjujm2joBjFiEtT2/mAohacGcTXn3od9qrfgDfNvxZbQoNMwhUzZYKBrEIkEucyweKvXJKZ/YH3k0RWyTpVZTV1D8G0rVdat79PC5z4kzjpqAAXdXyegd/BK8A1TAEsANiV+6xXoiNIq7e0QlVBNkC0fkO9FAqtnMttwzhzgCcBlDiQmvu+e+llQ3/6g+UZLVAnlQ0mlExTby2dem+IlZuKlA0YouPRkQhKhFw4iLXLD8SPT3kNqBhCRZLGQSnfSeW2gdtOjdvpBUsPa/L46CMXIuAiXtd+PTqLXjuitBuar1dLQiXkS9PGPF31TDia9Cch8s2PE5NX1Qi5UAVBJljyrf8NZl/4flJnwNZ5T6svC2Y7iwRIxpIJJWKVVwBq1NFQtho1TAEsAGT23ecz3Nz8WopFwVydPghVJpuJ4s2bF0bPrntnZuW+XyYRC+ZoWudFSaJEcSiGc9BIFK6yD/Dtrgaxc9aowkaC8THdKYQIGRAGmpoAY7wELykxBk4iRK5yObg+UVswHNkdfcJK6vv9kkNRgX968IPYFrbh/MW/xGAMFJzxrfbIj0UAHCVbdQyqqhc0PtSRhld86qsBwOJIlONQkVtig0X/851M8yvfRxIHYBuXTdrLbzNbh3/FSCk2TpAQShQzbkNKNbVbY9UwfngTeP7CTdmle60rPPrwEq5vkEqW+lQKpArNWNbuHhQefPDwzMp9odCIplMLTCwgdbG6bT0WQcYSGYAr2xkrjVgSfBdLJYYDIyb2Gts4lDYlhlOgY8ac7fJnvCYkQolZXRkU4xhQBfMuug4qJUQNDCYHRwX822PvxIO9y/HP+3wP7dlO9DpG6AIYcmBPypkIHhkxzmjCiCTJ+hGASCBkFJoRReTgYkNqjJn19mcy87/wCgran1KNDJjjEZmBidJIdnbsl9xESok03m2Qnx1FWY23xZT+qYYpAcPFAQd2Y+aIl/wFYRHjYqecQhAAVhiyAQq33PpGiJtHXB0N2FzfwCK3ebNlG0ARJ7WoWrGX/0+H2Y/hbW9KI8HlP+/ixRIjDOqwvm0OEMcYbsqR0swD4e4QKG+HdIRiIio8e/POP+9NWfFCMEnwZtODX2xchbPu+gq+v/41iKUeszMR6tknfztlAFkHGPVJzWmJGm33YigZkNpYDUIBOXaOKC6yqg245YzNueXXfySz5EdHczDvSWhsCEZIzXYzTkxvarMaARKHAUVhoBN5xcUAcRhoDEjh8SC9ujVMDSzYNzapW3X8Lwd//rMLxDlbjcuvAOAU1FAnxYcetsUHH35D7pCDvwkRTs9hyuekaokoKj72yL+4ri5wXV1MQnYCPchGxc7If8fbxl6JkNUiNs1cgE2tbYDEpW5tJbPQCYpR5UzgfBgD4qP2pGnG3SizVk5MZa/qelFowcEgNheb8R8Pvw+XP/8qvG7ujThl9l1Y2vAMmk0I1tBI6IMGJaU7VZnTwyT/i8AwYMVQUXN7G9N05g8zbW/5q2k46v8A3kIQowommFgpFXdlBimxQgGa8epPZmzDbJhcxCo0EXaY5AiqGlk1rT2qEYgmn6i2Bg+buJWR2XefW+0hB/eHd6xuQlMDkmzUaY8yjISC2CiFgxj41VXvzh1y8GUC9Hs3nGop0XfSp+HvA6hGAJoKt9y6r0YR0NDA6lLxV8lVG328Xd54ZaazJkm7FoLHlu2DKMiA8/mkHtgzMlOiAg6FziSnuRvhdk0O5r84GMYGIrucr5fDI/MRvXuPwSYCmQKeHJyFLz35Nnzz2ddj/4Z1ctzsJ/jjh/bd1ZZdvyIaWj8D2gNoHr5xOYPZQLkB4FblYDZRdtlVlDu4nxqOvMXUH/F95voMgIKnqHYGYKXEAqIRM0tShBSqiGEbDv0FGg4bz6KMZdWQHqSGqYMlIoWLDRnb13DmmV8v3nHnJ1gpVlILTKijasWhABA7g8aGeOjmvx48eNMtr2s4adWP4FwAY8KpoLMp+dvFGTI2jp5f/7r8TX89hOsbnAqMr3PVqnhq+Dpff/WEFFZC9De04IFlK4EohHKyWuqDEJzUwvbmkzyY8vKI8WwCQkmY9Q1FzqtmPv1m58QNO18wUQJgYEwIcIgiMe7p3ts9Gx3C/zTvpCsybfILjrYtJimEwBBII0AtQBbKWRA3KNtmCwSPwFOnJWclEVQzIBNhpzRUw5P1XdIsoGrhO6pUCJSmTin28D67exp89aXxPdHrT1z1/YGDD3x39NCjc6ixUeHiKmqWSYmmAjAZK0Ta+61vfT+zYnmXbZ/3e8QuYGsmPSJMiVQR9enCvZd+/xO6rRc0o5ngHIiqJ4quQFKzSlAY5JDHHQcchM6mmeB8HmJQIvqED0YaB6A3H70VwA8JPoVvPEp1cupEvqVkticfvz4RwxN02BKc+mQUJgLsEOrrHJqC0AJ1G9nO2cqEKD3vYc9mmQjT2ALIgMj5SBU70G7k3BHFSfywhj0cnGgIos4ZZvNM41vPvULFAaIupVCvDmgpjUFEwPV15DZv4q5Pffa3blvvWWRNpM7lMMkKqwosRAyZwPVf8fOfDP35LyvQ0iTkNElmqJ4YUurXExByUkDnzDm4bf+jgbCY5LCVm16AJnQo3f3h0QDqkjHGl+BB/iGRVOq09QwWX+KdgDpMPzMBJGQOCocgsEFcFwR3+7MQUjijEAMV/z/EUNnPIOtAJkwo8KvjKVXDtIJ9308AhhUqaFh17CW5l588KH3bLJmMSjXd0Jp6hgB1DtTUjOihB9D10Y/9qrhh42vImAJESEUsMDKVZ8K7XSWAcwZMsRgT9/78F5f3XfLtc6ihSVjASgoCT2vLmu2R5r4RBJYFfzz2ZejL5kDOQTmZb5Lbkda2QoHu/mLJDzb+hlnkk9aTKXT3FcXnlvqH10SWJ83iUyKFKprrc0/msuZGgIjBIalxBHZE7AjkVMkh/RnsG3uMsOtr+FsHE6XbigS+HmBt6/ve92pun5/XoQEQs3f5JzfKdG4bTVIcSuaNi5maZ2j46MO28x8u+tHgX/7yXWVaQMxOFSpOWEWMihioGp8tsjMnfCJYvSBgiBoVMeqEocIAORjjXFf3q7Z99vO39n3jG+dyfSYmYi7l4iGNck4H0ogFgCQ/0DPfEZp0CDccdSIeXLQCFA5535/ScN2HJJyCAEDAlh5POkvs/V7jsegprdEgIHLObO0tMjiNV487orLDGZauvyhmZC0Z8gK3JNfKZjJcL07D2TFl79dQw8iYAZFAJAjmzLmh9cMf/KiKEJwUqeTE1qpqG0IgqHOMphaVvr7Grk9+5oKtH/7ndYO33/E/EkUr2LAQsxKzIyKnqgYiAZwL4CRQ5wJNfvYvF5BK4B1i5IjZgUlBLOHmLWf1Xfbj1VsufO9vB6+99mhubnWgwJJUi4bshYuCAHXJLc9okF7cvf+R+NOhq0CFIpR27rtSADCMLf0FUqgpBVHGqdamny5EIpsHir6TXYU2jabZyCqY2RCkemsNNewWdrwbmGJxjhqOPe678Qfe/8rer37tNGptiwgUQKWqKANTHxdcRBxk4DIZV7j7blO45973ZvbZ96zsMUcO5l7yks8GixY+bFpamsna1YDpx3BmyHZjJVaf6grp718iXd0dhYcf/sfC6rtfFt33wJy4q6Oe6xrFtDRDRYyoAlwt3iRKKlW9FuqY0ST9eGDfl+DXJ5wGhMVdPrw8+zthfW9RBwqxa8oF8C4SGofClC4taedgtHzLQJFguKRhj4e+f9TR0zC8EOa1ZNMARs2mrWG3MJo6oMRMoppveeMbXqN9vb/r+96lL6fWtliJLapG40mNPgUrwwFEKpYaGxWiUfTEE/PCh9fwwOU//aGZ3aq2fT6ZOXP/xLNnbTFNTQFlc0rZwPurijEkLEL6+1m2defjrVtPdFu27OU6u0X7e1mJQHUNsWlpdapi1KVtF9Pk3umHNzwVjgwIgiYZwOpDjsNvjj4FLg5BKgmF/ijfLfkUlGBItvYXWp7fVjx3//bgu75r9Hhp0nzR2dMd/R8aGCwCQSZW1YqETZUSWnsC5s/IpfmKfzv04DVUFKNsSvKuPlVWcdGMd77zNLKZP/R+79uncl1jATaTVXFU0r52nY47qfD6hmcFISWoEwI44Lo6RUO9qBN13X2It3QBcv/LSXy4whv/iXkn3ngUTaKXzEJB4BBYUEurEClIYLUk/NOSNJ2m1sTpipetPQExWdTJIBBY/OHoM3DjgYcDYQiGJuVlY4BhNzQY81Obew7fv70RqmCwjqtVm6ivsHtsfa9DJOAs/HNzwhtlWFIDjEVzGv5c9kY1PIdq2MOw06eyz4g3DCfSct7bX82zZ13V+7X/OgODgxE1NhBEraqAS47/6dyDWpbS4eehqpQ2+aJsBpTNwOd/eff/DlMlIGXyS8ggDFQxXMWw4+enF16gCQBlAqugRYawafY8/HbVqXiqfSkoPwQlwljjuN4CJnKR4MENffGrD/NK4XhOVlUJihgA3/P8tgUQQimZdILmb1og55QUGYO9Ztb/Mnlj2q9GDXsmXlgtIAgMMcQVm155xjmzvvbf7zR7Le6X7i5LKjEziyQNZaoaIv7lnIFzFm4UynknVp2zcM5ChCFSNQnNO4MSAcSolyFwhnDTkcfiu68+F0/NWQgzNFhGczUuMAhY/eS21wI6j5gib9KOdS2IrSEMFuOT73t62zEITAydaBJ0aWzvx4wdzW7IYH5rvWfIqvLtV0P1Ygx2EQmISJ0MZg9ceensb3z99Ia3vPU3GhatDPQJMcfM0GpKAH6xoSzBxXs6fdEu6jSPDEd4bJ8Dcelr3ob/O/Jk5EGwxQIc715RoCgYWSOrn+5euLG3MMcQEs7BMWqRSZDi4Y29umZDH5DZnrR1IiBfaROLtrfVYXZTnUv+WqHxa/hbw9juEmIlQzGcs6ah4e62f/z71836r699OnPYYZulv8/K4JAqcwSzPX1QDZVAkqgOGI4QRsiFeQRQrN17JX706jfg8lPOwnMz5oCGhqBwiMlgd61CVYXJWGzYOoCbHt76Kf+3sZdYp86Fq+9d/2nJF2Gs4cop0gICYjjYZe0Nf2jK2ZtEhWl3ytlqqAFjLmj0hdpkTOyDIxLkDj7o3zNf/uK3h26747zBn1/5keJD9zcDRNTQBLCJfeKx7DRzOr09q4lsYUqRpLOV+8XSpSoFmJgAphhOoANDVsNikFk4v+fRQw9q+WndXtS5aAFiJVCx4HMimZOBJzi1JJ3wh7c+teStxy2GkiqUknmmjSA19ab6+mgQVGEMk+saLLz2p7c9eyyC7PgLScY0QcHhi9v6AEAUhqlmftSwexjjk71sDxMJMYdwYskEmxtPOvFzc/77q4tnfe7zn8oef2I3xTGkZ5uRfF6giMkYUWYdZgTx4w0nkkzUMb5nYIdzZEDI+/G8hUm+yJ9JwMYBGmu+EMu2HoOwaDMr99O2D/7jV2d885tvvO+Vr6PNrXOAMAIVi2nJRjJwOQ3Abs7VqaH6wF23ZtOhv3tg/Y8tsQtFrC/zHZbWWnYoVVAsjgDwt6574sJnNwzC1LGIugpeXYJTAQLGscva/F+oOrIwa9gzsfu5WcwxQVmdGFg7UL/q+E/VHX/ct8Onnpk7dMMNnynefvsp0TPr6qVQBLKBUjYTwVoQ2KoKjbOZxR4PLgs8lyq3fLEGiIyQSiyxYw1D68IIJhsgWLKXZo84/Ja6E45/MjjggP801j7nRPehwoNAHKpmc0mK3nipUXcBAhjEDgYf/9mDbzxyr1lfntucuz8SDQwlTC+JQqhQilUDVdXAmOgvj2455eLfPno66gMVR2aC1W8jp0UEjZ2dP6teD92r7d8B/xypzOg1/C1iNwWgz38jkMDA39HOBSDuyC5ftiW7fNlZcu45q8LH1u6Vv+OuT4b339MYrXt+tvT2+QyujAVlsgJjJeHPY6gnZhhJUfIiQVJvDYYokbB4lUldZF0xBEURE3EGrS1hZp9lnblDD789d9QRX83us7yJ6huuA1AUVYZzSYoOA8QJ35/CN7yonKKlShAo2ZzVB9f1ZN7yjVt+d8UHjn/tvBl1a1Q1THqx+QQoIhhQSIyGPz64+X/OveT21xacggMDEcEoRbi7DSZSV4hp1d5tW2c1ZDoSNusX226pYQqxmwKQEhMoScQlBpgjgrKKEKky19Xdmjvs0Ntyhx16uXNu7+jpZ94VPfpIf/Hhh/85XvvkjGjLZtL+PqviQGyErI0RWJCxIMMJtVQiDP1OHzbXqy09ZTgPw9cKlpE2qKrAObg4AmLHFMfWEQNBADOjxeX2aTfBvvtcn1m5/3XBvivCzKKFXyMfVk+K/p0FyBIBMEbgZJhqhcmzPKWCsFKnkxzdiZJpyOqND3fMOfY/r1v9wTP3/fWrDllw3+KZjd8NDG1RJfQMFfd6YH3v239y67PH/uCmZ05zyhFnAohKUkFXOQINhcYgBKcePP9LALY5lcDSNHcFrGGPxm6bwFT2ZB/+kSRh4BCo2kRQiTHmKbPP8o/l9lmOprPOukyKxcF406Y3xU88+dbi089sduueOyzatGFf19kpGBjkOAwBJMSXbABjFYYjMl5RJKbE6V8SPMHINGwt9aHQxEFVmjd8X9kXvCuTpjykGCbV8qpqWssaI6WAUfF9dUWgIladI3IxVMTHI6xl1OfEzp7FPHfe45mFCx+wS5fkzLJlCBYv/kTQ1tZFhgcB9CKVPSJEgIE//zg5JR5e7HROiSY5ngs32ukiNcsZmpDOpguUCEGzrruoH/zeva//j5aHX79oTvPfN+U4jJ1iU28ht6lraLYrxqCGTExEVkrd3yZOf1WieCBWCeNg9sx6nHbg3McBgImSprx/A07kFLRdWtQkQ5MKc3/g5KhU3j16z177yaO1JYrLNCOCiIUCyrSRs1nNLF36nczSpd+t98u6tw7k93Pbugtx51Z2GzZc7DZtnhVt3hy57i7otp6M9A8skqEhUFgEoggqCkmb6KSVKD6IAAKBmH3SBA8HW4gAZR5dgUyFm0pJ61QVn9em6gVcImxIYYnYy0RrgGwdUF8P29jwPGa0hLZ1JoI5swPT3t4VLFr0MZozywWtrTlubn4MxjyJ7ctmRBiqGTCLXzdWAGOgRq/EbZBcI3IgKBgGboRbTeEEbDIWCALXG0aud13nHKSEM8YoAgpNJmtEYCuX85eY2CBAGWRIUXR0xqr5axe1NVzjxJFh8zeX/kLKzpIF04h+xZMDBUAGDKuGTKDDD+M9Xe6VMFW83lpqYK7KpfoqXzYFYnqGGuue4sYFCBYtAA479LrkeySAarHQqv19H5Cefid9fZDBPkj/EFxfv6J/wLqBgX91+YFGDA05LYSEYhEaFiFRBMQO6mJ/0cRBY1+7sv0VJABkGGqMTz8xDM7kQNksNJsB1eXAdXXKzc2GG5v/y7Q0b6DmpoxtaFRuaVHMaLHc3PI/3FDfDfLE+KMsA0OcTWgUUGpB6i3+cHKWfldIGiLBJj67WMG8g+rmvFZnyLIha/yThyh5UGjGTYJbgpLUGyJAnVNkCRectPQa/y4nrdRfJHfiGFGUfjMQdkJFrcBNal9YSh5BTEYHo26E8YAtf/fF4Kyf8sYGVN53eFhB5DKTGQp10ITgAEyczfVoNvcZO2vOzob9DpCEY1JtLS1/U/UU+gDEOSCOS3lr5VAAMBZkTEKuQCA2IMMAl6eZgABsxegaGkGVVBRIyNsJMF6XYRAgvulN8k5V3Lt+HiqCpjoDEkZf0fkSyNFEuPc3cumX9FxKOU2Vm1lq/hqGxoPOnH74gm0nrZjzPfG9K6tj+aYIKWf3fq2vuLnOthaypn5AVCa1B9iwAGQN4yHb3nBQL1BeWr7nX4Gq6OyinmhQKMmtIAXAqQkEAEokGpTusRLlepqIi440+JAEC0Bm+OFotvt/tyHqmwwpWVINSoItcYIqISYiz9gOSjWYeDh5uJRSjtF8V5qy0UwpCEwKKcY4eEkLXn/Mgo4PX3b/bG7Iqmh5aHkM0q3SCgEBAEMEDobsP5+57xUAHldVy0yxlq3rix5ETtXhgJmn/ecBs06fvnmoA8gkTuM9f+2nWQBu50YdDqAmv5beUTBF26f6jvjo9qi0SVbyLxqAhrW/UeaC0sxphzMsDxiNcojp2FCJIGZo35Cjtx2/7I1X373x8zc/tPU40xSIi8FgeoH1nMQ5K8FYuLi3aM8/ZdnvTt5v7t+LKhnm2B95z78BxwrvMjFQFZ9HO01zIDL+PnwRCD9g2gVgxbDj3fkiuUCTj1SLIo3EUXM2s/6rbzv00hM/ecNx+VCVjUnIDKbe880GiPMxLWlvwKfecOB34GPxBvjbrf0l4ko2JP6bx2T3Ea+h6pHmVSjYAENhOPMlS2d9/4vnHPo1zUcGrCFXMJl5rGAiiJMoA+VvXXDk+xa1Nf7WObVE42WnrqGGnaMmAGtIQuAMUoJhFijwgVP3+f4HX7uyU3qKGcOIx0ooXQkwk7JqhMEw+NJ5L3n4zIPn/zJ2DsbUhF8NlUVNAO4xmLyUgyRfPU2AFhAgKg9/+c2Hrnr/WSs2RT15S0IRM+konk5MXDuk0mjWsGoocZwPg4vfcfj9F718n5NEpNMafnHkXdRQVagJwD0Aw9WA5bkmVHqR0ojfx/uiNOxefkylDIjWfuvth5/+2fMOe4DCUGQoJmM4ZiYln1iEtBoGwE6rckmHX8NnVH4wgSFVNhzH/UVqsBpd9oFjbvzomfu9MhLpImaz89FrqGH38WIJgryoQdAyentJclPUMSlpIhd2P+ZDYDAcnHBZk0/2kW52gkc/fuYBhx61tO2jF11+/8WPPt1NlLVKOePTlpRN2mB9ZzJqe56GtD6YGUogAQhSiEhD8NEHzpFLzjv8nYctbv1Z5FxgDRNBHVShxH9Dcd8apgI1AbhHYLjrigLkIgGKsRFLJJWgFSMCikJxFKMs94+IyDEBIsIvP6D9C7f9x+zLv3vDk/92yfWPv+WZ5wdbiKGaMQ6W1DAzCJx+fVhjLT9MyWh2TlUkFKZizEpE+y9p2XzRafv+4LxVS76QC2y/E+HAcAz4PksljokaaqggSKuNWaWGHeATpNMkauQeWt97cOdQpDahQp5os3EG4ETRmDF88OLWBwNDQ6pKSmnJB8GJGiY4IqLOweKSP96/8WO/unvj8Xc/27l0U3e+IY4TU5iMHzDJm/RRZvWNRQQlyWgCUHtbrvuY5XM2vunI+Ve/4qAF32ypCzaLKCmUmeGrgUr1CKilNtVQcdQE4B6B7X1/0zQLVRJVy8xxIo+xYdvQ29c8vy3zwPq+Vz6+oe/1G7oGXcdAaHoLDmHsICoIjEF9NsCcRusWz6wzKxfMuOSgRa1rjlgyY+P81vprAJAqSFQNJ9U0I46LUQtnaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYaaqihhhpqqKGGGmqooYYXBf4/c2werMAFzmwAAAAASUVORK5CYII= \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m
deleted file mode 100644
index 98086feeb1..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/OHPathHelpersTests.m
+++ /dev/null
@@ -1,18 +0,0 @@
-#import <XCTest/XCTest.h>
-#import "OHHTTPStubs.h"
-
-@interface OHPathHelpersTests : XCTestCase
-
-@end
-
-@implementation OHPathHelpersTests
-
-- (void)testOHResourceBundle {
- NSBundle *classBundle = [NSBundle bundleForClass:self.class];
- NSBundle *expectedBundle = [NSBundle bundleWithPath:[classBundle pathForResource:@"empty"
- ofType:@"bundle"]];
-
- XCTAssertEqual(OHResourceBundle(@"empty", self.class), expectedBundle);
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m
deleted file mode 100644
index a4ee670a6e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/AFNetworkingTests.m
+++ /dev/null
@@ -1,225 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-#import "AFHTTPRequestOperation.h"
-
-static const NSTimeInterval kResponseTimeTolerence = 1.0;
-
-@interface AFNetworkingTests : XCTestCase @end
-
-@implementation AFNetworkingTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
--(void)test_AFHTTPRequestOperation_success
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- [op setResponseSerializer:[AFHTTPResponseSerializer serializer]];
- __block __strong id response = nil;
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
--(void)test_AFHTTPRequestOperation_multiple_choices
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:300 headers:@{@"Location":@"http://www.iana.org/domains/another/example"}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- AFHTTPResponseSerializer* serializer = [AFHTTPResponseSerializer serializer];
- [serializer setAcceptableStatusCodes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(200, 101)]];
- [op setResponseSerializer:serializer];
-
- __block __strong id response = nil;
- [op setRedirectResponseBlock:^NSURLRequest *(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse) {
- if (redirectResponse == nil) {
- return request;
- }
- XCTFail(@"Unexpected redirect");
- return nil;
- }];
-
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
--(void)test_AFHTTPRequestOperation_redirect
-{
- static const NSTimeInterval kRequestTime = 0.05;
- static const NSTimeInterval kResponseTime = 0.1;
-
- NSURL* redirectURL = [NSURL URLWithString:@"http://www.iana.org/domains/another/example"];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[NSData data] statusCode:311 headers:@{@"Location":redirectURL.absoluteString}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPRequestOperation request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- AFHTTPRequestOperation* op = [[AFHTTPRequestOperation alloc] initWithRequest:req];
- [op setResponseSerializer:[AFHTTPResponseSerializer serializer]];
-
- __block __strong NSURL* url = nil;
- [op setRedirectResponseBlock:^NSURLRequest *(NSURLConnection *connection, NSURLRequest *request, NSURLResponse *redirectResponse) {
- if (redirectResponse == nil) {
- return request;
- }
- url = request.URL;
- [expectation fulfill];
- return nil;
- }];
-
- [op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
- XCTFail(@"Unexpected response");
- [expectation fulfill];
- } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
- [op start];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(url, redirectURL, @"Unexpected data received");
-}
-
-@end
-
-
-
-#pragma mark - NSURLSession / AFHTTPURLSession support
-
-// Compile this only if SDK version (…MAX_ALLOWED) is iOS7+/10.9+ because NSURLSession is a class only known starting these SDKs
-// (this code won't compile if we use an eariler SDKs, like when building with Xcode4)
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) \
- || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import "AFHTTPSessionManager.h"
-
-@interface AFNetworkingTests (NSURLSession) @end
-@implementation AFNetworkingTests (NSURLSession)
-
-- (void)test_AFHTTPURLSessionCustom
-{
- if ([NSURLSession class] && [NSURLSessionConfiguration class])
- {
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.2;
- NSDictionary *expectedResponseDict = @{@"Success" : @"Yes"};
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.scheme isEqualToString:@"stubs"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithJSONObject:expectedResponseDict statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"AFHTTPSessionManager request finished"];
-
- NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURL* baseURL = [NSURL URLWithString:@"stubs://stubs/"];
- AFHTTPSessionManager *sessionManager = [[AFHTTPSessionManager alloc] initWithBaseURL:baseURL
- sessionConfiguration:sessionConfig];
-
- __block __strong id response = nil;
- [sessionManager GET:@"foo"
- parameters:nil
- success:^(NSURLSessionDataTask *task, id responseObject) {
- response = responseObject; // keep strong reference
- [expectation fulfill];
- }
- failure:^(NSURLSessionDataTask *task, NSError *error) {
- XCTFail(@"Unexpected network failure");
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponseDict, @"Unexpected data received");
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-@end
-
-#else
-#warning Unit Tests using NSURLSession were not compiled nor executed, because NSURLSession is only available since iOS7/OSX10.9 SDK. \
--------- Compile using iOS7 or OSX10.9 SDK then launch the tests on the iOS7 simulator or an OSX10.9 target for them to be executed.
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m
deleted file mode 100644
index db7725703c..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/MocktailTests.m
+++ /dev/null
@@ -1,147 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface MocktailTests : XCTestCase
-@property(nonatomic, strong) NSURLSession *session;
-@end
-
-@implementation MocktailTests
-
-- (void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-
- NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
- self.session = [NSURLSession sessionWithConfiguration:configuration delegate:nil delegateQueue:nil];
-}
-
-- (void)tearDown
-{
- [super tearDown];
- self.session = nil;
-}
-
-- (void)testMoctTailLoginSuccess
-{
- NSError *error = nil;
- NSBundle *bundle = [NSBundle bundleForClass:self.class];
- [OHHTTPStubs stubRequestsUsingMocktailNamed:@"login" inBundle:bundle error: &error];
- XCTAssertNil(error, @"Error while stubbing 'login.tail':%@", [error localizedDescription]);
- [self runLogin];
-}
-
-- (void)testMocktailsAtFolder
-{
- NSError *error = nil;
- NSBundle *bundle = [NSBundle bundleForClass:self.class];
- [OHHTTPStubs stubRequestsUsingMocktailsAtPath:@"MocktailFolder" inBundle:bundle error:&error];
- XCTAssertNil(error, @"Error while stubbing Mocktails at folder 'MocktailFolder': %@", [error localizedDescription]);
- [self runLogin];
- [self runGetCards];
-}
-
-- (void)runLogin
-{
- NSURL *url = [NSURL URLWithString:@"http://happywebservice.com/users"];
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url
- cachePolicy:NSURLRequestUseProtocolCachePolicy
- timeoutInterval:60.0];
-
- [request addValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request addValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- request.HTTPMethod = @"POST";
- NSDictionary *mapData = @{@"iloveit": @"happyuser1",
- @"password": @"username"};
- NSData *postData = [NSJSONSerialization dataWithJSONObject:mapData options:0 error:NULL];
- request.HTTPBody = postData;
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- NSURLSessionDataTask *postDataTask = [self.session dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
-
- XCTAssertNil(error, @"Error while logging in.");
-
- NSDictionary *json = nil;
- if(!error && [@"application/json" isEqual:response.MIMEType])
- {
- json = [NSJSONSerialization JSONObjectWithData:data options:0 error:&error];
- }
-
- XCTAssertNotNil(json, @"The response is not a json object");
- XCTAssertEqualObjects(json[@"status"], @"SUCCESS", @"The response does to return a successful status");
- XCTAssertNotNil(json[@"user_token"], @"The response does not contain a user token");
-
- [expectation fulfill];
- }];
-
- [postDataTask resume];
-
- [self waitForExpectationsWithTimeout:10 handler:nil];
-}
-
-- (void)runGetCards
-{
- NSURL *url = [NSURL URLWithString:@"http://happywebservice.com/cards"];
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url
- cachePolicy:NSURLRequestUseProtocolCachePolicy
- timeoutInterval:60.0];
-
- [request addValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request addValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- request.HTTPMethod = @"GET";
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- NSURLSessionDataTask *getDataTask = [self.session dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
-
- XCTAssertNil(error, @"Error while getting cards.");
-
- NSArray *json = nil;
- if(!error && [@"application/json" isEqual:response.MIMEType])
- {
- json = [NSJSONSerialization JSONObjectWithData:data options:0 error:&error];
- }
-
- XCTAssertNotNil(json, @"The response is not a json object");
- XCTAssertEqual(json.count, 2, @"The response does not contain 2 cards");
- XCTAssertEqualObjects([json firstObject][@"amount"], @"$25.28", @"The first card amount does not match");
-
- [expectation fulfill];
- }];
-
- [getDataTask resume];
-
- [self waitForExpectationsWithTimeout:10 handler:nil];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m
deleted file mode 100644
index 1321854169..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionDelegateTests.m
+++ /dev/null
@@ -1,394 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLConnectionDelegateTests : XCTestCase <NSURLConnectionDataDelegate> @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.2;
-
-@implementation NSURLConnectionDelegateTests
-{
- NSMutableData* _data;
- NSError* _error;
-
- NSURL* _redirectRequestURL;
- NSInteger _redirectResponseStatusCode;
-
- XCTestExpectation* _connectionFinishedExpectation;
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Global Setup + NSURLConnectionDelegate implementation
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)setUp
-{
- [super setUp];
- _data = [[NSMutableData alloc] init];
- [OHHTTPStubs removeAllStubs];
-}
-
--(void)tearDown
-{
- // in case the test timed out and finished before a running NSURLConnection ended,
- // we may continue receive delegate messages anyway if we forgot to cancel.
- // So avoid sending messages to deallocated object in this case by ensuring we reset it to nil
- _data = nil;
- _error = nil;
- _connectionFinishedExpectation = nil;
- [super tearDown];
-}
-
-- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response
-{
- _redirectRequestURL = request.URL;
- if (response)
- {
- if ([response isKindOfClass:NSHTTPURLResponse.class])
- {
- _redirectResponseStatusCode = ((NSHTTPURLResponse *) response).statusCode;
- }
- else
- {
- _redirectResponseStatusCode = 0;
- }
- }
- else
- {
- // we get a nil response when NSURLConnection canonicalizes the URL, we don't care about that.
- }
- return request;
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
-{
- _data.length = 0U;
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
-{
- [_data appendData:data];
-}
-
--(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
-{
- _error = error; // keep strong reference
- [_connectionFinishedExpectation fulfill];
-}
-
--(void)connectionDidFinishLoading:(NSURLConnection *)connection
-{
- [_connectionFinishedExpectation fulfill];
-}
-
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark NSURLConnection + Delegate
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnectionDelegate_success
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
--(void)test_NSURLConnectionDelegate_multiple_choices
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:300
- headers:@{@"Location":@"http://www.iana.org/domains/another/example"}]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
--(void)test_NSURLConnectionDelegate_error
-{
- static const NSTimeInterval kResponseTime = 0.5;
- NSError* expectedError = [NSError errorWithDomain:NSURLErrorDomain code:404 userInfo:nil];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- OHHTTPStubsResponse* resp = [OHHTTPStubsResponse responseWithError:expectedError];
- resp.responseTime = kResponseTime;
- return resp;
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:kResponseTime+kResponseTimeTolerence handler:nil];
-
- XCTAssertEqual(_data.length, (NSUInteger)0, @"Received unexpected network data %@", _data);
- XCTAssertEqualObjects(_error.domain, expectedError.domain, @"Invalid error response domain");
- XCTAssertEqual(_error.code, expectedError.code, @"Invalid error response code");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Cancelling requests
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_cancel
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[@"<this data should never have time to arrive>" dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:500
- headers:nil]
- requestTime:0.0 responseTime:1.5];
- }];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- XCTestExpectation* waitExpectation = [self expectationWithDescription:@"Waiting 2s, after cancelling in the middle"];
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
- [cxn cancel];
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
- [waitExpectation fulfill];
- });
- });
-
- [self waitForExpectationsWithTimeout:5 handler:^(NSError *error) {
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
- }];
-
- XCTAssertEqual(_data.length, (NSUInteger)0, @"Received unexpected data but the request should have been cancelled");
- XCTAssertNil(_error, @"Received unexpected network error but the request should have been cancelled");
-
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Cancelling requests
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_cookies
-{
- NSString* const cookieName = @"SESSIONID";
- NSString* const cookieValue = [NSProcessInfo.processInfo globallyUniqueString];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSString* cookie = [NSString stringWithFormat:@"%@=%@;", cookieName, cookieValue];
- NSDictionary* headers = @{@"Set-Cookie": cookie};
- return [[OHHTTPStubsResponse responseWithData:[@"Yummy cookies" dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:200
- headers:headers]
- requestTime:0.0 responseTime:0.1];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- // Set the cookie accept policy to accept all cookies from the main document domain
- // (especially in case the previous policy was "NSHTTPCookieAcceptPolicyNever")
- NSHTTPCookieStorage* cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage;
- NSHTTPCookieAcceptPolicy previousAcceptPolicy = cookieStorage.cookieAcceptPolicy; // keep it to restore later
- cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain;
-
- // Send the request and wait for the response containing the Set-Cookie headers
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:^(NSError *error) {
- [cxn cancel]; // In case we timed out (test failed), cancel the request to avoid further delegate method calls
- }];
-
- /* Check that the cookie has been properly stored */
- NSArray* cookies = [cookieStorage cookiesForURL:req.URL];
- BOOL cookieFound = NO;
- for (NSHTTPCookie* cookie in cookies)
- {
- if ([cookie.name isEqualToString:cookieName])
- {
- cookieFound = YES;
- XCTAssertEqualObjects(cookie.value, cookieValue, @"The cookie does not have the expected value");
- }
- }
- XCTAssertTrue(cookieFound, @"The cookie was not stored as expected");
-
-
- // As a courtesy, restore previous policy before leaving
- cookieStorage.cookieAcceptPolicy = previousAcceptPolicy;
-
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Redirected requests
-///////////////////////////////////////////////////////////////////////////////////
-
-- (void)test_NSURLConnection_redirected
-{
- static const NSTimeInterval kRequestTime = 0.1;
- static const NSTimeInterval kResponseTime = 0.5;
- NSData* redirectData = [[NSString stringWithFormat:@"%@ - redirect", NSStringFromSelector(_cmd)] dataUsingEncoding:NSUTF8StringEncoding];
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- NSURL* redirectURL = [NSURL URLWithString:@"http://www.yahoo.com/"];
- NSString* redirectCookieName = @"yahooCookie";
- NSString* redirectCookieValue = [NSProcessInfo.processInfo globallyUniqueString];
-
- // Set the cookie accept policy to accept all cookies from the main document domain
- // (especially in case the previous policy was "NSHTTPCookieAcceptPolicyNever")
- NSHTTPCookieStorage* cookieStorage = NSHTTPCookieStorage.sharedHTTPCookieStorage;
- NSHTTPCookieAcceptPolicy previousAcceptPolicy = cookieStorage.cookieAcceptPolicy; // keep it to restore later
- cookieStorage.cookieAcceptPolicy = NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain;
-
- NSString* endCookieName = @"googleCookie";
- NSString* endCookieValue = [NSProcessInfo.processInfo globallyUniqueString];
- NSURL *endURL = [NSURL URLWithString:@"http://www.google.com/"];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- if ([request.URL isEqual:redirectURL]) {
- NSString* redirectCookie = [NSString stringWithFormat:@"%@=%@;", redirectCookieName, redirectCookieValue];
- NSDictionary* headers = @{ @"Location": endURL.absoluteString,
- @"Set-Cookie": redirectCookie };
- return [[OHHTTPStubsResponse responseWithData:redirectData
- statusCode:311 // any 300-level request will do
- headers:headers]
- requestTime:kRequestTime responseTime:kResponseTime];
- } else {
- NSString* endCookie = [NSString stringWithFormat:@"%@=%@;", endCookieName, endCookieValue];
- NSDictionary* headers = @{ @"Set-Cookie": endCookie };
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:headers]
- requestTime:kRequestTime responseTime:kResponseTime];
- }
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:redirectURL];
- NSDate* startDate = [NSDate date];
-
- NSURLConnection* cxn = [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:2 * (kRequestTime+kResponseTime+kResponseTimeTolerence) handler:^(NSError *error) {
- // in case we timed out before the end of the request (test failed), cancel the request to avoid further delegate method calls
- [cxn cancel];
- }];
-
- XCTAssertEqualObjects(_redirectRequestURL, endURL, @"Invalid redirect request URL");
- XCTAssertEqual(_redirectResponseStatusCode, (NSInteger)311, @"Invalid redirect response status code");
- XCTAssertEqualObjects(_data, testData, @"Invalid data response");
- XCTAssertNil(_error, @"Received unexpected network error %@", _error);
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], (2 * kRequestTime) + kResponseTime, 2 * kResponseTimeTolerence, @"Invalid response time");
-
- /* Check that the redirect cookie has been properly stored */
- NSArray* redirectCookies = [cookieStorage cookiesForURL:req.URL];
- BOOL redirectCookieFound = NO;
- for (NSHTTPCookie* cookie in redirectCookies)
- {
- if ([cookie.name isEqualToString:redirectCookieName])
- {
- redirectCookieFound = YES;
- XCTAssertEqualObjects(cookie.value, redirectCookieValue, @"The redirect cookie does not have the expected value");
- }
- }
- XCTAssertTrue(redirectCookieFound, @"The redirect cookie was not stored as expected");
-
- /* Check that the end cookie has been properly stored */
- NSArray* endCookies = [cookieStorage cookiesForURL:endURL];
- BOOL endCookieFound = NO;
- for (NSHTTPCookie* cookie in endCookies)
- {
- if ([cookie.name isEqualToString:endCookieName])
- {
- endCookieFound = YES;
- XCTAssertEqualObjects(cookie.value, endCookieValue, @"The end cookie does not have the expected value");
- }
- }
- XCTAssertTrue(endCookieFound, @"The end cookie was not stored as expected");
-
-
- // As a courtesy, restore previous policy before leaving
- cookieStorage.cookieAcceptPolicy = previousAcceptPolicy;
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m
deleted file mode 100644
index 1fe6c91e87..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLConnectionTests.m
+++ /dev/null
@@ -1,187 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLConnectionTests : XCTestCase @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.3;
-
-@implementation NSURLConnectionTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-static const NSTimeInterval kRequestTime = 0.1;
-static const NSTimeInterval kResponseTime = 0.5;
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSURLConnection sendSynchronousRequest:returningResponse:error:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSURLConnection_sendSyncronousRequest_mainQueue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- NSData* data = [NSURLConnection sendSynchronousRequest:req returningResponse:NULL error:NULL];
-
- XCTAssertEqualObjects(data, testData, @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSURLConnection_sendSyncronousRequest_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous request completed"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSURLConnection_sendSyncronousRequest_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Single [NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)_test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:(NSOperationQueue*)queue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Asynchronous request finished"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startDate = [NSDate date];
-
- [NSURLConnection sendAsynchronousRequest:req queue:queue completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqualObjects(data, testData, @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-
--(void)test_NSURLConnection_sendAsyncronousRequest_mainQueue
-{
- [self _test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:NSOperationQueue.mainQueue];
-}
-
-
--(void)test_NSURLConnection_sendAsyncronousRequest_parallelQueue
-{
- [self _test_NSURLConnection_sendAsyncronousRequest_onOperationQueue:[NSOperationQueue new]];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark Multiple Parallel [NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)_test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:(NSOperationQueue*)queue
-{
- __block BOOL testFinished = NO;
- NSData* (^dataForRequest)(NSURLRequest*) = ^(NSURLRequest* req) {
- return [[NSString stringWithFormat:@"<Response for URL %@>",req.URL.absoluteString] dataUsingEncoding:NSUTF8StringEncoding];
- };
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSData* retData = dataForRequest(request);
- NSTimeInterval responseTime = [request.URL.lastPathComponent doubleValue];
- return [[OHHTTPStubsResponse responseWithData:retData
- statusCode:200
- headers:nil]
- requestTime:responseTime*.1 responseTime:responseTime];
- }];
-
- // Reusable code to send a request that will respond in the given response time
- void (^sendAsyncRequest)(NSTimeInterval) = ^(NSTimeInterval responseTime)
- {
- NSString* desc = [NSString stringWithFormat:@"Asynchronous request with response time %.f finished", responseTime];
- XCTestExpectation* expectation = [self expectationWithDescription:desc];
-
- NSString* urlString = [NSString stringWithFormat:@"http://dummyrequest/concurrent/time/%f",responseTime];
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
-// [SenTestLog testLogWithFormat:@"== Sending request %@\n", req];
- NSDate* startDate = [NSDate date];
- [NSURLConnection sendAsynchronousRequest:req queue:queue completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
-// [SenTestLog testLogWithFormat:@"== Received response for request %@\n", req];
- XCTAssertEqualObjects(data, dataForRequest(req), @"Invalid data response");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], (responseTime*.1)+responseTime, kResponseTimeTolerence, @"Invalid response time");
-
- if (!testFinished) [expectation fulfill];
- }];
- };
-
- static NSTimeInterval time3 = 1.5, time2 = 1.0, time1 = 0.5;
- sendAsyncRequest(time3); // send this one first, should receive last
- sendAsyncRequest(time2); // send this one next, shoud receive 2nd
- sendAsyncRequest(time1); // send this one last, should receive first
-
- [self waitForExpectationsWithTimeout:MAX(time1,MAX(time2,time3))+kResponseTimeTolerence handler:nil];
- testFinished = YES;
-}
-
--(void)test_NSURLConnection_sendMultipleAsyncronousRequests_mainQueue
-{
- [self _test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:NSOperationQueue.mainQueue];
-}
-
--(void)test_NSURLConnection_sendMultipleAsyncronousRequests_parallelQueue
-{
- [self _test_NSURLConnection_sendMultipleAsyncronousRequestsOnOperationQueue:[NSOperationQueue new]];
-}
-
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m
deleted file mode 100644
index 2e829ca432..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NSURLSessionTests.m
+++ /dev/null
@@ -1,227 +0,0 @@
-/***********************************************************************************
- *
- * 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.
- *
- ***********************************************************************************/
-
-
-// Compile this only if SDK version (…MAX_ALLOWED) is iOS7+/10.9+ because NSURLSession is a class only known starting these SDKs
-// (this code won't compile if we use an eariler SDKs, like when building with Xcode4)
-#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) \
- || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090)
-
-#import <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface NSURLSessionTests : XCTestCase <NSURLSessionDataDelegate> @end
-
-@implementation NSURLSessionTests
-{
- NSMutableData* _receivedData;
- XCTestExpectation* _taskDidCompleteExpectation;
-}
-
-- (void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
- _receivedData = nil;
-}
-
-- (void)_test_NSURLSession:(NSURLSession*)session
- jsonForStub:(id)json
- completion:(void(^)(NSError* errorResponse,id jsonResponse))completion
-{
- if ([NSURLSession class])
- {
- static const NSTimeInterval kRequestTime = 0.0;
- static const NSTimeInterval kResponseTime = 0.2;
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithJSONObject:json statusCode:200 headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"NSURLSessionDataTask completed"];
-
- __block __strong id dataResponse = nil;
- __block __strong NSError* errorResponse = nil;
- NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"foo://unknownhost:666"]];
- request.HTTPMethod = @"GET";
- [request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
- [request setValue:@"application/json" forHTTPHeaderField:@"Accept"];
-
- NSURLSessionDataTask *task = [session dataTaskWithRequest:request
- completionHandler:^(NSData *data, NSURLResponse *response, NSError *error)
- {
- errorResponse = error;
- if (!error)
- {
- NSError *jsonError = nil;
- NSDictionary *jsonObject = [NSJSONSerialization JSONObjectWithData:data options:0 error:&jsonError];
- XCTAssertNil(jsonError, @"Unexpected error deserializing JSON response");
- dataResponse = jsonObject;
- }
- [expectation fulfill];
- }];
-
- [task resume];
-
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+0.5 handler:nil];
-
- completion(errorResponse, dataResponse);
- }
-}
-
-// The shared session use the same mechanism as NSURLConnection
-// (based on protocols registered via +[NSURLProtocol registerClass:] and all)
-// and no NSURLSessionConfiguration
-- (void)test_SharedNSURLSession
-{
- if ([NSURLSession class])
- {
- NSURLSession *session = [NSURLSession sharedSession];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionDefaultConfig
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionEphemeralConfig
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration ephemeralSessionConfiguration];
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- XCTAssertNil(errorResponse, @"Unexpected error");
- XCTAssertEqualObjects(jsonResponse, json, @"Unexpected data received");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSessionDefaultConfig_Disabled
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration ephemeralSessionConfiguration];
- [OHHTTPStubs setEnabled:NO forSessionConfiguration:config]; // Disable stubs for this session
- NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
-
- NSDictionary* json = @{@"Success": @"Yes"};
- [self _test_NSURLSession:session jsonForStub:json completion:^(NSError *errorResponse, id jsonResponse) {
- // Stubs were disable for this session, so we should get an error instead of the stubs data
- XCTAssertNotNil(errorResponse, @"Expected error but none found");
- XCTAssertNil(jsonResponse, @"Data should not have been received as stubs should be disabled");
- }];
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-- (void)test_NSURLSession_DataTask_DelegateMethods
-{
- if ([NSURLSessionConfiguration class] && [NSURLSession class])
- {
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.scheme isEqualToString:@"stub"];
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:expectedResponse statusCode:200 headers:nil]
- responseTime:0.5];
- }];
-
- _taskDidCompleteExpectation = [self expectationWithDescription:@"NSURLSessionDataTask completion delegate method called"];
-
- NSURLSessionConfiguration* config = [NSURLSessionConfiguration defaultSessionConfiguration];
- NSURLSession* session = [NSURLSession sessionWithConfiguration:config delegate:self delegateQueue:nil];
-
- [[session dataTaskWithURL:[NSURL URLWithString:@"stub://foo"]] resume];
-
- [self waitForExpectationsWithTimeout:5 handler:nil];
-
- XCTAssertEqualObjects(_receivedData, expectedResponse, @"Unexpected response");
- }
- else
- {
- NSLog(@"/!\\ Test skipped because the NSURLSession class is not available on this OS version. Run the tests a target with a more recent OS.\n");
- }
-}
-
-//---------------------------------------------------------------
-#pragma mark - Delegate Methods
-
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveResponse:(NSURLResponse *)response completionHandler:(void (^)(NSURLSessionResponseDisposition))completionHandler
-{
- _receivedData = [NSMutableData new];
- completionHandler(NSURLSessionResponseAllow);
-}
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data
-{
- [_receivedData appendData:data];
-}
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error
-{
- [_taskDidCompleteExpectation fulfill];
-}
-
-@end
-
-#else
-#warning Unit Tests using NSURLSession were not compiled nor executed, because NSURLSession is only available since iOS7/OSX10.9 SDK. \
--------- Compile using iOS7 or OSX10.9 SDK then launch the tests on the iOS7 simulator or an OSX10.9 target for them to be executed.
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m
deleted file mode 100644
index ec263d543f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/NilValuesTests.m
+++ /dev/null
@@ -1,216 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-static const NSTimeInterval kResponseTimeTolerence = 0.3;
-
-@interface NilValuesTests : XCTestCase @end
-
-@implementation NilValuesTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-- (void)test_NilData
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- return [OHHTTPStubsResponse responseWithData:nil statusCode:400 headers:nil];
-#pragma clang diagnostic pop
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_EmptyData
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[NSData data] statusCode:400 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_NilPath
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- return [[OHHTTPStubsResponse responseWithFileAtPath:nil statusCode:501 headers:nil]
- requestTime:0.01 responseTime:0.01];
-#pragma clang diagnostic pop
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_InvalidPath
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithFileAtPath:@"-invalid-path-" statusCode:500 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)test_EmptyFile
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- NSString* emptyFile = OHPathForFile(@"emptyfile.json", self.class);
- return [[OHHTTPStubsResponse responseWithFileAtPath:emptyFile statusCode:500 headers:nil]
- requestTime:0.01 responseTime:0.01];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- XCTAssertEqual(data.length, (NSUInteger)0, @"Data should be empty");
-
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-}
-
-- (void)_test_NilURLAndCookieHandlingEnabled:(BOOL)handleCookiesEnabled
-{
- NSData* expectedResponse = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [OHHTTPStubsResponse responseWithData:expectedResponse
- statusCode:200
- headers:nil];
- }];
-
- XCTestExpectation* expectation = [self expectationWithDescription:@"Network request's completionHandler called"];
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnonnull"
- NSMutableURLRequest* req = [NSMutableURLRequest requestWithURL:nil];
-#pragma clang diagnostic pop
- req.HTTPShouldHandleCookies = handleCookiesEnabled;
-
- __block NSData* response = nil;
-
- [NSURLConnection sendAsynchronousRequest:req
- queue:[NSOperationQueue mainQueue]
- completionHandler:^(NSURLResponse* resp, NSData* data, NSError* error)
- {
- response = data;
- [expectation fulfill];
- }];
-
- [self waitForExpectationsWithTimeout:kResponseTimeTolerence handler:nil];
-
- XCTAssertEqualObjects(response, expectedResponse, @"Unexpected data received");
-}
-
-- (void)test_NilURLAndCookieHandlingEnabled
-{
- [self _test_NilURLAndCookieHandlingEnabled:YES];
-}
-
-- (void)test_NilURLAndCookieHandlingDisabled
-{
- [self _test_NilURLAndCookieHandlingEnabled:NO];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift
deleted file mode 100644
index 3d2f1c3577..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/SwiftHelpersTests.swift
+++ /dev/null
@@ -1,200 +0,0 @@
-//
-// SwiftHelpersTests.swift
-// OHHTTPStubs
-//
-// Created by Olivier Halligon on 20/09/2015.
-// Copyright © 2015 AliSoftware. All rights reserved.
-//
-
-import Foundation
-import XCTest
-import OHHTTPStubs
-
-class SwiftHelpersTests : XCTestCase {
-
- func testIsScheme() {
- let matcher = isScheme("foo")
-
- let urls = [
- "foo:": true,
- "foo://": true,
- "foo://bar/baz": true,
- "bar://": false,
- "bar://foo/": false,
- "foobar://": false
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isScheme(\"foo\") matcher failed when testing url \(url)")
- }
- }
-
- func testIsHost() {
- let matcher = isHost("foo")
-
- let urls = [
- "foo:": false,
- "foo://": false,
- "foo://bar/baz": false,
- "bar://foo": true,
- "bar://foo/baz": true,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isHost(\"foo\") matcher failed when testing url \(url)")
- }
- }
-
- func testIsPath_absoluteURL() {
- testIsPath("/foo/bar/baz", isAbsoluteMatcher: true)
- }
-
- func testIsPath_relativeURL() {
- testIsPath("foo/bar/baz", isAbsoluteMatcher: false)
- }
-
- func testIsPath(path: String, isAbsoluteMatcher: Bool) {
- let matcher = isPath(path)
-
- let urls = [
- // Absolute URLs
- "scheme:": false,
- "scheme://": false,
- "scheme://foo/bar/baz": false,
- "scheme://host/foo/bar": false,
- "scheme://host/foo/bar/baz": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz?q=1": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz#anchor": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz;param": isAbsoluteMatcher,
- "scheme://host/foo/bar/baz/wizz": false,
- "scheme://host/path#/foo/bar/baz": false,
- "scheme://host/path?/foo/bar/baz": false,
- "scheme://host/path;/foo/bar/baz": false,
- // Relative URLs
- "foo/bar/baz": !isAbsoluteMatcher,
- "foo/bar/baz?q=1": !isAbsoluteMatcher,
- "foo/bar/baz#anchor": !isAbsoluteMatcher,
- "foo/bar/baz;param": !isAbsoluteMatcher,
- "foo/bar/baz/wizz": false,
- "path#/foo/bar/baz": false,
- "path?/foo/bar/baz": false,
- "path;/foo/bar/baz": false,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- let p = req.URL?.path
- print("URL: \(url) -> Path: \(p)")
- XCTAssert(matcher(req) == result, "isPath(\"\(path)\" matcher failed when testing url \(url)")
- }
- }
-
- func testIsExtension() {
- let matcher = isExtension("txt")
-
- let urls = [
- "txt:": false,
- "txt://": false,
- "txt://txt/txt/txt": false,
- "scheme://host/foo/bar.png": false,
- "scheme://host/foo/bar.txt": true,
- "scheme://host/foo/bar.txt?q=1": true,
- "scheme://host/foo/bar.baz?q=wizz.txt": false,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "isExtension(\"txt\") matcher failed when testing url \(url)")
- }
-
- }
-
- func testContainsQueryParams() {
- let params: [String: String?] = ["q":"test", "lang":"en", "empty":"", "flag":nil]
- let matcher = containsQueryParams(params)
-
- let urls = [
- "foo://bar": false,
- "foo://bar?q=test": false,
- "foo://bar?lang=en": false,
- "foo://bar#q=test&lang=en&empty=&flag": false,
- "foo://bar#lang=en&empty=&flag&q=test": false,
- "foo://bar;q=test&lang=en&empty=&flag": false,
- "foo://bar;lang=en&empty=&flag&q=test": false,
-
- "foo://bar?q=test&lang=en&empty=&flag": true,
- "foo://bar?lang=en&flag&empty=&q=test": true,
- "foo://bar?q=test&lang=en&empty=&flag#anchor": true,
- "foo://bar?q=test&lang=en&empty&flag": false, // key "empty" with no value is matched against nil, not ""
- "foo://bar?q=test&lang=en&empty=&flag=": false, // key "flag" with empty value is matched against "", not nil
- "foo://bar?q=en&lang=test&empty=&flag": false, // param keys and values mismatch
- "foo://bar?q=test&lang=en&empty=&flag&&wizz=fuzz": true,
- "foo://bar?wizz=fuzz&empty=&lang=en&flag&&q=test": true,
- "?q=test&lang=en&empty=&flag": true,
- "?lang=en&flag&empty=&q=test": true,
- ]
-
- for (url, result) in urls {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert(matcher(req) == result, "containsQueryParams(\"\(params)\") matcher failed when testing url \(url)")
- }
- }
-
- let sampleURLs = [
- // Absolute URLs
- "scheme:",
- "scheme://",
- "scheme://foo/bar/baz",
- "scheme://host/foo/bar",
- "scheme://host/foo/bar/baz",
- "scheme://host/foo/bar/baz?q=1",
- "scheme://host/foo/bar/baz#anchor",
- "scheme://host/foo/bar/baz;param",
- "scheme://host/foo/bar/baz/wizz",
- "scheme://host/path#/foo/bar/baz",
- "scheme://host/path?/foo/bar/baz",
- "scheme://host/path;/foo/bar/baz",
- // Relative URLs
- "foo/bar/baz",
- "foo/bar/baz?q=1",
- "foo/bar/baz#anchor",
- "foo/bar/baz;param",
- "foo/bar/baz/wizz",
- "path#/foo/bar/baz",
- "path?/foo/bar/baz",
- "path;/foo/bar/baz"
- ]
-
- let trueMatcher: OHHTTPStubsTestBlock = { _ in return true }
- let falseMatcher: OHHTTPStubsTestBlock = { _ in return false }
-
- func testOrOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((trueMatcher || trueMatcher)(req) == true, "trueMatcher || trueMatcher should result in a trueMatcher")
- XCTAssert((trueMatcher || falseMatcher)(req) == true, "trueMatcher || falseMatcher should result in a trueMatcher")
- XCTAssert((falseMatcher || trueMatcher)(req) == true, "falseMatcher || trueMatcher should result in a trueMatcher")
- XCTAssert((falseMatcher || falseMatcher)(req) == false, "falseMatcher || falseMatcher should result in a falseMatcher")
- }
- }
-
- func testAndOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((trueMatcher && trueMatcher)(req) == true, "trueMatcher && trueMatcher should result in a trueMatcher")
- XCTAssert((trueMatcher && falseMatcher)(req) == false, "trueMatcher && falseMatcher should result in a falseMatcher")
- XCTAssert((falseMatcher && trueMatcher)(req) == false, "falseMatcher && trueMatcher should result in a falseMatcher")
- XCTAssert((falseMatcher && falseMatcher)(req) == false, "falseMatcher && falseMatcher should result in a falseMatcher")
- }
- }
-
- func testNotOperator() {
- for url in sampleURLs {
- let req = NSURLRequest(URL: NSURL(string: url)!)
- XCTAssert((!trueMatcher)(req) == false, "!trueMatcher should result in a falseMatcher")
- XCTAssert((!falseMatcher)(req) == true, "!falseMatcher should result in a trueMatcher")
- }
- }
-}
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m
deleted file mode 100644
index b2e820f80f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/TimingTests.m
+++ /dev/null
@@ -1,162 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface TimingTests : XCTestCase
-{
- NSMutableData* _data;
- NSError* _error;
- XCTestExpectation* _connectionFinishedExpectation;
-
-// NSDate* _didReceiveResponseTS;
- NSDate* _didFinishLoadingTS;
-}
-@end
-
-@implementation TimingTests
-
--(void)setUp
-{
- [super setUp];
-
- _data = [NSMutableData new];
- _error = nil;
-// _didReceiveResponseTS = nil;
- _didFinishLoadingTS = nil;
- [OHHTTPStubs removeAllStubs];
-}
--(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
-{
- _data.length = 0U;
- // NOTE: This timing info is not reliable as Cocoa always calls the connection:didReceiveResponse: delegate method just before
- // calling the first "connection:didReceiveData:", even if the [id<NSURLProtocolClient> URLProtocol:didReceiveResponse:…] method was called way before. So we are not testing this
-// _didReceiveResponseTS = [NSDate date];
-}
-
--(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
-{
- [_data appendData:data];
-}
-
--(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
-{
- _error = error; // keep strong reference
- _didFinishLoadingTS = [NSDate date];
- [_connectionFinishedExpectation fulfill];
-}
-
--(void)connectionDidFinishLoading:(NSURLConnection *)connection
-{
- _didFinishLoadingTS = [NSDate date];
- [_connectionFinishedExpectation fulfill];
-}
-
-
-///////////////////////////////////////////////////////////////////////////////////////
-
-static NSTimeInterval const kResponseTimeTolerence = 0.8;
-static NSTimeInterval const kSecurityTimeout = 5.0;
-
--(void)_testWithData:(NSData*)stubData requestTime:(NSTimeInterval)requestTime responseTime:(NSTimeInterval)responseTime
-{
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:stubData
- statusCode:200
- headers:nil]
- requestTime:requestTime responseTime:responseTime];
- }];
-
- _connectionFinishedExpectation = [self expectationWithDescription:@"NSURLConnection did finish (with error or success)"];
-
- NSURLRequest* req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
- NSDate* startTS = [NSDate date];
-
- [NSURLConnection connectionWithRequest:req delegate:self];
-
- [self waitForExpectationsWithTimeout:requestTime+responseTime+kResponseTimeTolerence+kSecurityTimeout handler:nil];
-
- XCTAssertEqualObjects(_data, stubData, @"Invalid data response");
-
-// XCTAssertEqualWithAccuracy([_didReceiveResponseTS timeIntervalSinceDate:startTS], requestTime,
-// kResponseTimeTolerence, @"Invalid request time");
- XCTAssertEqualWithAccuracy([_didFinishLoadingTS timeIntervalSinceDate:startTS], requestTime + responseTime,
- kResponseTimeTolerence, @"Invalid response time");
-
- [NSThread sleepForTimeInterval:0.01]; // Time for the test to wrap it all (otherwise we may have "Test did not finish" warning)
-}
-
-
-
-
-
-
--(void)test_RequestTime0_ResponseTime0
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [self _testWithData:testData requestTime:0 responseTime:0];
-}
-
--(void)test_SmallDataLargeTime_CumulativeAlgorithm
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- // 21 bytes in 23/4 of a second = 0.913042 byte per slot: we need to check that the cumulative algorithm works
- [self _testWithData:testData requestTime:0 responseTime:5.75];
-}
-
--(void)test_RequestTime1_ResponseTime0
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
- [self _testWithData:testData requestTime:1 responseTime:0];
-}
-
--(void)test_LongData_RequestTime1_ResponseTime5
-{
- static NSUInteger const kDataLength = 1024;
- NSMutableData* testData = [NSMutableData dataWithCapacity:kDataLength];
- NSData* chunk = [[NSProcessInfo.processInfo globallyUniqueString] dataUsingEncoding:NSUTF8StringEncoding];
- while(testData.length<kDataLength)
- {
- [testData appendData:chunk];
- }
- [self _testWithData:testData requestTime:1 responseTime:5];
-}
-
--(void)test_VeryLongData_RequestTime1_ResponseTime0
-{
- static NSUInteger const kDataLength = 609792;
- NSMutableData* testData = [NSMutableData dataWithCapacity:kDataLength];
- NSData* chunk = [[NSProcessInfo.processInfo globallyUniqueString] dataUsingEncoding:NSUTF8StringEncoding];
- while(testData.length<kDataLength)
- {
- [testData appendData:chunk];
- }
- [self _testWithData:testData requestTime:1 responseTime:0];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m
deleted file mode 100644
index 0e34aea54f..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/WithContentsOfURLTests.m
+++ /dev/null
@@ -1,116 +0,0 @@
-/***********************************************************************************
- *
- * 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 <XCTest/XCTest.h>
-#import <OHHTTPStubs/OHHTTPStubs.h>
-
-@interface WithContentsOfURLTests : XCTestCase @end
-
-static const NSTimeInterval kResponseTimeTolerence = 0.2;
-
-@implementation WithContentsOfURLTests
-
--(void)setUp
-{
- [super setUp];
- [OHHTTPStubs removeAllStubs];
-}
-
-static const NSTimeInterval kRequestTime = 0.1;
-static const NSTimeInterval kResponseTime = 0.5;
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSString stringWithContentsOfURL:encoding:error:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSString_stringWithContentsOfURL_mainQueue
-{
- NSString* testString = NSStringFromSelector(_cmd);
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:[testString dataUsingEncoding:NSUTF8StringEncoding]
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSDate* startDate = [NSDate date];
-
- NSString* string = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]
- encoding:NSUTF8StringEncoding
- error:NULL];
-
- XCTAssertEqualObjects(string, testString, @"Invalid returned string");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kResponseTime+kRequestTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSString_stringWithContentsOfURL_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous download finished"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSString_stringWithContentsOfURL_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-///////////////////////////////////////////////////////////////////////////////////
-#pragma mark [NSData dataWithContentsOfURL:]
-///////////////////////////////////////////////////////////////////////////////////
-
--(void)test_NSData_dataWithContentsOfURL_mainQueue
-{
- NSData* testData = [NSStringFromSelector(_cmd) dataUsingEncoding:NSUTF8StringEncoding];
-
- [OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return YES;
- } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {
- return [[OHHTTPStubsResponse responseWithData:testData
- statusCode:200
- headers:nil]
- requestTime:kRequestTime responseTime:kResponseTime];
- }];
-
- NSDate* startDate = [NSDate date];
-
- NSData* data = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.iana.org/domains/example/"]];
-
- XCTAssertEqualObjects(data, testData, @"Invalid returned string");
- XCTAssertEqualWithAccuracy(-[startDate timeIntervalSinceNow], kRequestTime+kResponseTime, kResponseTimeTolerence, @"Invalid response time");
-}
-
--(void)test_NSData_dataWithContentsOfURL_parallelQueue
-{
- XCTestExpectation* expectation = [self expectationWithDescription:@"Synchronous download finished"];
- [[NSOperationQueue new] addOperationWithBlock:^{
- [self test_NSData_dataWithContentsOfURL_mainQueue];
- [expectation fulfill];
- }];
- [self waitForExpectationsWithTimeout:kRequestTime+kResponseTime+kResponseTimeTolerence handler:nil];
-}
-
-@end
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist
deleted file mode 100644
index 169b6f710e..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundlePackageType</key>
- <string>BNDL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>CFBundleVersion</key>
- <string>1</string>
-</dict>
-</plist>
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch
deleted file mode 100644
index a0a31a66c6..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch
+++ /dev/null
@@ -1,7 +0,0 @@
-//
-// Prefix header for all source files of the 'OHHTTPStubs Unit Tests' target in the 'OHHTTPStubs Unit Tests' project
-//
-
-#ifdef __OBJC__
- #import <Foundation/Foundation.h>
-#endif
diff --git a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail b/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail
deleted file mode 100644
index 283ca0271b..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/OHHTTPStubs/UnitTests/login.tail
+++ /dev/null
@@ -1,10 +0,0 @@
-GET|POST
-.*/users
-200
-application/json
-
-{
-"user_id": "happyuser1",
-"user_token": "happytoken",
-"status": "SUCCESS"
-} \ No newline at end of file
diff --git a/platform/ios/uitest/OHHTTPStubs/README.md b/platform/ios/uitest/OHHTTPStubs/README.md
deleted file mode 100644
index 2c9c831393..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/README.md
+++ /dev/null
@@ -1,120 +0,0 @@
-OHHTTPStubs
-===========
-
-[![Platform](http://cocoapod-badges.herokuapp.com/p/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Version](http://cocoapod-badges.herokuapp.com/v/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Build Status](https://travis-ci.org/AliSoftware/OHHTTPStubs.png?branch=master)](https://travis-ci.org/AliSoftware/OHHTTPStubs)
-
-`OHHTTPStubs` is a library designed to stub your network requests very easily. It can help you:
-
-* test your apps with **fake network data** (stubbed from file) and **simulate slow networks**, to check your application behavior in bad network conditions
-* write **Unit Tests** that use fake network data from your fixtures.
-
-It works with `NSURLConnection`, new iOS7/OSX.9's `NSURLSession`, `AFNetworking` (both 1.x and 2.x), or any networking framework that use Cocoa's URL Loading System.
-
-[![Donate](http://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TRTU3UEWEHV92 "Donate")
-
-----
-
-# Documentation & Usage Examples
-
-`OHHTTPStubs` headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also [read the **online documentation** here](http://cocoadocs.org/docsets/OHHTTPStubs)
-[![Version](http://cocoapod-badges.herokuapp.com/v/OHHTTPStubs/badge.png)](http://cocoadocs.org/docsets/OHHTTPStubs)
-
-## Swift support
-
-`OHHTTPStubs` is compatible with Swift out of the box: you can use it with the same API as you would use in Objective-C. But you might also want to include the `OHHTTPStubs/Swift` subspec in your `Podfile`, which adds some global function helpers (see `OHHTTPStubsSwift.swift`) to make the use of `OHHTTPStubs` more compact and Swift-like.
-
-## Basic example
-
-### In Objective-C
-
-```objc
-[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
- return [request.URL.host isEqualToString:@"mywebservice.com"];
-} withStubResponse:^OHHTTPStubsResponse*(NSURLRequest *request) {
- // Stub it with our "wsresponse.json" stub file (which is in same bundle as self)
- NSString* fixture = OHPathForFile(@"wsresponse.json", self.class);
- return [OHHTTPStubsResponse responseWithFileAtPath:fixture
- statusCode:200 headers:@{@"Content-Type":@"application/json"}];
-}];
-```
-
-### In Swift
-
-This example is using the Swift helpers found in `OHHTTPStubsSwift.swift` provided by the `OHHTTPStubs/Swift` subspec
-
-```swift
-stub(isHost("mywebservice.com")) { _ in
- // Stub it with our "wsresponse.json" stub file (which is in same bundle as self)
- let stubPath = OHPathForFile("wsresponse.json", self.dynamicType)
- return fixture(stubPath!, headers: ["Content-Type":"application/json"])
-}
-```
-
-Note: Using `OHHTTPStubsSwift.swift` you could also compose the matcher functions like this: `stub(isScheme("http") && isHost("myhost")) { … }`
-
-## More examples & Help Topics
-
-* For a lot more examples, see the dedicated "[Usage Examples](https://github.com/AliSoftware/OHHTTPStubs/wiki/Usage-Examples)" wiki page.
-* The wiki also contain [some articles that can help you get started](https://github.com/AliSoftware/OHHTTPStubs/wiki) with (and troubleshoot if needed) `OHHTTPStubs`.
-
-# Compatibility
-
-`OHHTTPStubs` is compatible with **iOS 5.0+** and **OSX 10.7+**.
-
-`OHHTTPStubs` also works with iOS7's and OSX 10.9's `NSURLSession` mechanism.
-
-`OHHTTPStubs` is fully **Swift-compatible**. [Nullability annotations](https://developer.apple.com/swift/blog/?id=25) have been added to allow a cleaner API when used from Swift.
-
-# Installing in your projects
-
-Using [CocoaPods](https://guides.cocoapods.org) is the recommended way.
-Simply add `pod 'OHHTTPStubs'` to your `Podfile`.
-
-_`OHHTTPStubs` should also be compatible with Carthage — but I won't guarantee help/support for it as I don't use it personally._
-
-# Special Considerations
-
-## Using OHHTTPStubs in your Unit Tests
-
-`OHHTTPStubs` is ideal to write Unit Tests that normally would perform network requests. But if you use it in your Unit Tests, don't forget to:
-
-* remove any stubs you installed after each test — to avoid those stubs to still be installed when executing the next Test Case — by calling `[OHHTTPStubs removeAllStubs]` in your `tearDown` method. [see this wiki page for more info](https://github.com/AliSoftware/OHHTTPStubs/wiki/Remove-stubs-after-each-test)
-* be sure to wait until the request has received its response before doing your assertions and letting the test case finish (like for any asynchronous test). [see this wiki page for more info](https://github.com/AliSoftware/OHHTTPStubs/wiki/OHHTTPStubs-and-asynchronous-tests)
-
-## Automatic loading
-
-Thanks to method swizzling, `OHHTTPStubs` is automatically loaded and installed both for:
-
-* requests made using `NSURLConnection` or `[NSURLSession sharedSession]`;
-* requests made using a `NSURLSession` created using a `[NSURLSessionConfiguration defaultSessionConfiguration]` or `[NSURLSessionConfiguration ephemeralSessionConfiguration]` configuration (using `[NSURLSession sessionWithConfiguration:…]`-like methods).
-
-If you need to disable (and re-enable) `OHHTTPStubs` — globally or per `NSURLSession` — you can use `[OHHTTPStubs setEnabled:]` / `[OHHTTPStubs setEnabled:forSessionConfiguration:]`.
-
-## Known limitations
-
-* `OHHTTPStubs` **can't work on background sessions** (sessions created using `[NSURLSessionConfiguration backgroundSessionConfiguration]`) because background sessions don't allow the use of custom `NSURLProtocols` and are handled by the iOS Operating System itself.
-* `OHHTTPStubs` don't simulate data upload. The `NSURLProtocolClient` `@protocol` does not provide a way to signal the delegate that data has been **sent** (only that some has been loaded), so any data in the `HTTPBody` or `HTTPBodyStream` of an `NSURLRequest`, or data provided to `-[NSURLSession uploadTaskWithRequest:fromData:];` will be ignored, and more importantly, the `-URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:` delegate method will never be called when you stub the request using `OHHTTPStubs`.
-
-_As far as I know, there's nothing we can do about those two limitations. Please let me know if you know a solution that would make that possible anyway._
-
-
-## Submitting to the AppStore
-
-`OHHTTPStubs` **can be used** on apps submitted **on the AppStore**. It does not use any private API and nothing prevents you from shipping it.
-
-But you generally only use stubs during the development phase and want to remove your stubs when submitting to the AppStore. So be careful to only include `OHHTTPStubs` when needed (only in your test targets, or only inside `#if DEBUG` portions, or by using [per-Build-Configuration pods](https://guides.cocoapods.org/syntax/podfile.html#pod)) to avoid forgetting to remove it when the time comes that you release for the AppStore and you want your requests to hit the net!
-
-
-
-# License and Credits
-
-This project and library has been created by Olivier Halligon (@aligatr on Twitter) and is under the MIT License.
-
-It has been inspired by [this article from InfiniteLoop.dk](http://www.infinite-loop.dk/blog/2011/09/using-nsurlprotocol-for-injecting-test-data/).
-
-I would also like to thank Kevin Harwood ([@kcharwood](https://github.com/kcharwood)) for migrating the code to `NSInputStream`, Jinlian Wang ([@JinlianWang](https://github.com/JinlianWang)) for adding Mocktail support, and everyone else who contributed to this project on GitHub somehow.
-
-If you want to support the development of this library, feel free to [![Donate](http://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TRTU3UEWEHV92 "Donate"). Thanks to all contributors so far!
diff --git a/platform/ios/uitest/OHHTTPStubs/Rakefile b/platform/ios/uitest/OHHTTPStubs/Rakefile
deleted file mode 100644
index a7c7397fba..0000000000
--- a/platform/ios/uitest/OHHTTPStubs/Rakefile
+++ /dev/null
@@ -1,55 +0,0 @@
-# Build & test OHHTTPStubs lib from the CLI
-
-desc 'Build an iOS scheme'
-task :ios, [:scheme, :ios_version, :action] do |_,args|
- destination = "platform=iOS Simulator,name=iPhone 5,OS=#{args.ios_version}"
- build("OHHTTPStubs #{args.scheme}", "iphonesimulator", destination, args.action)
-end
-
-desc 'Build an OSX scheme'
-task :osx, [:scheme, :arch, :action] do |_,args|
- destination = "platform=OS X,arch=#{args.arch}"
- build("OHHTTPStubs #{args.scheme}", "macosx", destination, args.action)
-end
-
-desc 'List installed simulators'
-task :simlist do
- sh 'xcrun simctl list'
-end
-
-desc 'Run all travis env tasks locally'
-task :travis do
- require 'YAML'
- travis = YAML.load_file('.travis.yml')
- travis['env'].each do |env|
- arg = env.split('=')[1]
- puts "\n" + ('-'*80) + "\n\n"
- sh "rake #{arg}"
- end
-end
-
-
-# Build the xcodebuild command and run it
-def build(scheme, sdk, destination, action)
- puts <<-ANNOUNCE
- =============================
- | Action: #{action}
- | Scheme: "#{scheme}"
- | #{destination}
- =============================
-
- ANNOUNCE
-
- cmd = %W(
- xcodebuild
- -workspace OHHTTPStubs/OHHTTPStubs.xcworkspace
- -scheme "#{scheme}"
- -sdk #{sdk}
- -configuration Release
- ONLY_ACTIVE_ARCH=NO
- -destination '#{destination}'
- clean #{action}
- )
-
- sh "set -o pipefail && #{cmd.join(' ')} | xcpretty -c"
-end