[iOS] Revert 'Use modular headers everywhere'
This commit rolls back AliSoftware/OHHTTPStubs@806ba99fb7 so that we can keep using OHHTTPStubs in the same project without creating a separate framework target.
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <OHHTTPStubs/Compatibility.h>
|
||||
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
|
||||
#import "Compatibility.h"
|
||||
#import "OHHTTPStubsResponse.h"
|
||||
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@@ -181,17 +181,17 @@ NS_ASSUME_NONNULL_END
|
||||
#pragma mark - Umbrella Header Imports
|
||||
|
||||
|
||||
#if ! __has_include(<OHHTTPStubs/OHHTTPStubs-umbrella.h>)
|
||||
#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>
|
||||
#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>
|
||||
#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>
|
||||
#if __has_include("OHHTTPStubs/OHHTTPStubs+Mocktail.h")
|
||||
#import "OHHTTPStubs/OHHTTPStubs+Mocktail.h"
|
||||
#endif
|
||||
#if __has_include("OHHTTPStubs/OHPathHelpers.h")
|
||||
#import "OHHTTPStubs/OHPathHelpers.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark - Imports
|
||||
|
||||
#import <OHHTTPStubs/OHHTTPStubs.h>
|
||||
#import "OHHTTPStubs.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark - Types & Constants
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#pragma mark - Imports
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <OHHTTPStubs/Compatibility.h>
|
||||
#import "Compatibility.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark - Defines & Constants
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark - Imports
|
||||
|
||||
#import <OHHTTPStubs/OHHTTPStubsResponse.h>
|
||||
#import "OHHTTPStubsResponse.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark - Defines & Constants
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
96992E601B0FBC4F008978C0 /* CLLocationManager+MockLocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CLLocationManager+MockLocation.h"; sourceTree = "<group>"; };
|
||||
96992E611B0FBC4F008978C0 /* CLLocationManager+MockLocation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "CLLocationManager+MockLocation.m"; sourceTree = "<group>"; };
|
||||
DACAD7111B08719F009119DC /* MGLMapboxEvents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MGLMapboxEvents.h; path = ../../platform/ios/MGLMapboxEvents.h; sourceTree = SOURCE_ROOT; };
|
||||
DADD9EB51BD16D8B00DA9161 /* Compatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Compatibility.h; path = OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h; sourceTree = SOURCE_ROOT; };
|
||||
DD043323196DB9BC00E6F39D /* Mapbox GL Tests.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mapbox GL Tests.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DD04335F196DBBD500E6F39D /* MGLTAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLTAppDelegate.m; sourceTree = SOURCE_ROOT; };
|
||||
DD043360196DBBD500E6F39D /* MGLTViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLTViewController.m; sourceTree = SOURCE_ROOT; };
|
||||
@@ -273,6 +274,7 @@
|
||||
DD0E6F861B01B67100DC035A /* OHHTTPStubs */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DADD9EB51BD16D8B00DA9161 /* Compatibility.h */,
|
||||
DD0E6F8D1B01B68E00DC035A /* OHHTTPStubs.h */,
|
||||
DD0E6F8E1B01B68E00DC035A /* OHHTTPStubs.m */,
|
||||
DD0E6F8F1B01B68E00DC035A /* OHHTTPStubs+NSURLSessionConfiguration.m */,
|
||||
|
||||
Reference in New Issue
Block a user