rename `Response` to `HTTPRawResponse`

This commit is contained in:
Yume 2021-11-29 13:37:19 +08:00
parent eb7c6f01eb
commit 7ed16a8676
6 changed files with 20 additions and 930 deletions

View File

@ -9,11 +9,11 @@ import Foundation
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
extension Entryable {
func fetchData() async throws -> Response<Data> {
func fetchData() async throws -> HTTPRawResponse<Data> {
return try await withCheckedThrowingContinuation { continuation in
self.dataRequest.validate().responseData { (res) in
let result = res.result.map { data in
return Response(data: data, request: res.request, response: res.response)
return HTTPRawResponse(data: data, request: res.request, response: res.response)
}
continuation.resume(with: result)
}
@ -23,7 +23,7 @@ extension Entryable {
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
extension Entryable where ResponseType: Codable {
func fetch(decoder: JSONDecoder = JSONDecoder()) async throws -> Response<ResponseType> {
func fetch(decoder: JSONDecoder = JSONDecoder()) async throws -> HTTPRawResponse<ResponseType> {
return try await self.fetchData()
.mapData{ data in
return try ResponseType.decode(data: data, decoder: decoder)

View File

@ -1,5 +1,5 @@
//
// Response.swift
// HTTPRawResponse.swift
// YumeAlamofire
//
// Created by Yume on 2018/12/10.
@ -8,7 +8,7 @@
import Foundation
public struct Response<T> {
public struct HTTPRawResponse<T> {
public let data: T
public let request: URLRequest?
public let response: HTTPURLResponse?
@ -19,27 +19,27 @@ public struct Response<T> {
self.response = response
}
public func mapData<U>(transform: (T) throws -> U) rethrows -> Response<U> {
return try Response<U>(
public func mapData<U>(transform: (T) throws -> U) rethrows -> HTTPRawResponse<U> {
return try HTTPRawResponse<U>(
data: transform(data),
request: request,
response: response
)
}
public func mapData<U>(keyPath: KeyPath<T, U>) -> Response<U> {
return Response<U>(
public func mapData<U>(keyPath: KeyPath<T, U>) -> HTTPRawResponse<U> {
return HTTPRawResponse<U>(
data: self.data[keyPath: keyPath],
request: request,
response: response
)
}
public func map<U>(transform: (Response<T>) throws -> U) rethrows -> U {
public func map<U>(transform: (HTTPRawResponse<T>) throws -> U) rethrows -> U {
return try transform(self)
}
public func map<U>(keyPath: KeyPath<Response<T>, U>) -> U {
public func map<U>(keyPath: KeyPath<HTTPRawResponse<T>, U>) -> U {
return self[keyPath: keyPath]
}
}

View File

@ -6,17 +6,17 @@ import struct RxSwift.Single
import protocol RxSwift.Disposable
import protocol Entryable.Entryable
import struct Entryable.Response
import struct Entryable.HTTPRawResponse
private let concurrentQueue = DispatchQueue(label: "RxEntryable", attributes: .concurrent)
extension Entryable {
public var rxData: Single<Response<Data>> {
public var rxData: Single<HTTPRawResponse<Data>> {
return Single.create { observer -> Disposable in
// self.dataRequest.validate().responseData(queue: concurrentQueue) { (res) in
self.dataRequest.validate().responseData { (res) in
let result: Result<Response<Data>, Error> = res.result.map { data in
return Response(data: data, request: res.request, response: res.response)
let result: Result<HTTPRawResponse<Data>, Error> = res.result.map { data in
return HTTPRawResponse(data: data, request: res.request, response: res.response)
}.mapError { error -> Error in
return error
}
@ -34,9 +34,9 @@ extension Entryable {
}
extension Entryable where ResponseType: Codable {
public var rx: Single<Response<ResponseType>> {
return rxData.map { (response) throws -> Response<ResponseType> in
return try response.mapData{ data in
public var rx: Single<HTTPRawResponse<ResponseType>> {
return rxData.map { (response) throws -> HTTPRawResponse<ResponseType> in
return try response.mapData { data in
return try ResponseType.decode(data: data)
}
}

View File

@ -54,7 +54,7 @@ class YumeAlamofireTests: XCTestCase {
fake: .json(json: fakeRes, code: 201, header: [:])
)
let res: Response<Entry.A.Response> = try await Entry.A(key: "").fetch()
let res: HTTPRawResponse<Entry.A.Response> = try await Entry.A(key: "").fetch()
print(res.data)
XCTAssertEqual(res.data, fakeRes)
XCTAssertEqual(res.response?.statusCode, 201)
@ -67,7 +67,7 @@ class YumeAlamofireTests: XCTestCase {
url: Entry.A(key: "").url.asURL().absoluteString,
fake: .json(json: fakeRes, code: 202, header: ["a":"b"])
)
Entry.A(key: "").rx.subscribe(onSuccess: { (res: Response<Entry.A.Response>) in
Entry.A(key: "").rx.subscribe(onSuccess: { (res: HTTPRawResponse<Entry.A.Response>) in
XCTAssertEqual(res.data, fakeRes)
XCTAssertEqual(res.response?.statusCode, 202)
XCTAssertEqual(res.response?.headers.dictionary, ["a":"b"])

View File

@ -1,810 +0,0 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 48;
objects = {
/* Begin PBXBuildFile section */
A8051EC7200718520010EEE7 /* YumeAlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8051EC6200718520010EEE7 /* YumeAlamofireTests.swift */; };
A8051EC9200718520010EEE7 /* YumeAlamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8F40FE41FF3809B000F01E5 /* YumeAlamofire.framework */; };
A8051ED22007190B0010EEE7 /* Alamofire.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A8F40FF91FF38558000F01E5 /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A8051ED42007194E0010EEE7 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8F40FF91FF38558000F01E5 /* Alamofire.framework */; };
A82B493F21BF823D0033253B /* JSONMock.h in Headers */ = {isa = PBXBuildFile; fileRef = A82B493D21BF823D0033253B /* JSONMock.h */; settings = {ATTRIBUTES = (Public, ); }; };
A82B494A21BF85980033253B /* YumeAlamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8F40FE41FF3809B000F01E5 /* YumeAlamofire.framework */; };
A82B494E21BF86BC0033253B /* SwizzleURLConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B494B21BF86BB0033253B /* SwizzleURLConfig.swift */; };
A82B494F21BF86BC0033253B /* Swizzlable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B494C21BF86BC0033253B /* Swizzlable.swift */; };
A82B495021BF86BC0033253B /* Mock+JSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B494D21BF86BC0033253B /* Mock+JSON.swift */; };
A82B496321BF872E0033253B /* Entryable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495521BF872E0033253B /* Entryable.swift */; };
A82B496421BF872E0033253B /* Entryable+JSONDecodeKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495621BF872E0033253B /* Entryable+JSONDecodeKit.swift */; };
A82B496521BF872E0033253B /* Entryable+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495721BF872E0033253B /* Entryable+Codable.swift */; };
A82B496721BF872E0033253B /* NetError.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495A21BF872E0033253B /* NetError.swift */; };
A82B496821BF872E0033253B /* Codable+Ex.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495C21BF872E0033253B /* Codable+Ex.swift */; };
A82B496A21BF872E0033253B /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495E21BF872E0033253B /* Response.swift */; };
A82B496B21BF872E0033253B /* ParameterType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B495F21BF872E0033253B /* ParameterType.swift */; };
A82B496C21BF872E0033253B /* YumeAlamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B496021BF872E0033253B /* YumeAlamofire.swift */; };
A82B496F21BF87950033253B /* Encodable+Ex.swift in Sources */ = {isa = PBXBuildFile; fileRef = A82B496E21BF87950033253B /* Encodable+Ex.swift */; };
A83E4BD220C8DAAA00F27CE5 /* LocalEntry.swift in Sources */ = {isa = PBXBuildFile; fileRef = A83E4BD120C8DAAA00F27CE5 /* LocalEntry.swift */; };
A83E4BD520C8DD1300F27CE5 /* AwaitKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A83E4BD320C8DD1300F27CE5 /* AwaitKit.framework */; };
A83E4BD620C8DD1300F27CE5 /* PromiseKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A83E4BD420C8DD1300F27CE5 /* PromiseKit.framework */; };
A83E4BD720C8DD3C00F27CE5 /* AwaitKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A83E4BD320C8DD1300F27CE5 /* AwaitKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A83E4BD820C8DD3C00F27CE5 /* PromiseKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A83E4BD420C8DD1300F27CE5 /* PromiseKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A83E4BDA20C8DD5C00F27CE5 /* JSONDecodeKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A83E4BD920C8DD5C00F27CE5 /* JSONDecodeKit.framework */; };
A83E4BDB20C8DD6500F27CE5 /* JSONDecodeKit.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A83E4BD920C8DD5C00F27CE5 /* JSONDecodeKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A88D29B022CE06920050F43B /* Entryable+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A88D29AF22CE06920050F43B /* Entryable+Rx.swift */; };
A8ADE5C922C4739B005357DF /* Fake.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8ADE5C822C4739B005357DF /* Fake.swift */; };
A8F40FE81FF3809B000F01E5 /* YumeAlamofire.h in Headers */ = {isa = PBXBuildFile; fileRef = A8F40FE61FF3809B000F01E5 /* YumeAlamofire.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
A8051ECA200718520010EEE7 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A8F40FC21FF38068000F01E5 /* Project object */;
proxyType = 1;
remoteGlobalIDString = A8F40FE31FF3809B000F01E5;
remoteInfo = YumeAlamofire;
};
A82B494521BF85310033253B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A8F40FC21FF38068000F01E5 /* Project object */;
proxyType = 1;
remoteGlobalIDString = A82B493A21BF823C0033253B;
remoteInfo = JSONMock;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
A8051ED1200718FD0010EEE7 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
A83E4BDB20C8DD6500F27CE5 /* JSONDecodeKit.framework in CopyFiles */,
A8051ED22007190B0010EEE7 /* Alamofire.framework in CopyFiles */,
A83E4BD720C8DD3C00F27CE5 /* AwaitKit.framework in CopyFiles */,
A83E4BD820C8DD3C00F27CE5 /* PromiseKit.framework in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
A8051EC4200718510010EEE7 /* YumeAlamofireTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YumeAlamofireTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A8051EC6200718520010EEE7 /* YumeAlamofireTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YumeAlamofireTests.swift; sourceTree = "<group>"; };
A8051EC8200718520010EEE7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A82B493B21BF823C0033253B /* JSONMock.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = JSONMock.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A82B493D21BF823D0033253B /* JSONMock.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JSONMock.h; sourceTree = "<group>"; };
A82B493E21BF823D0033253B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A82B494B21BF86BB0033253B /* SwizzleURLConfig.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SwizzleURLConfig.swift; path = Sources/JSONMock/SwizzleURLConfig.swift; sourceTree = SOURCE_ROOT; };
A82B494C21BF86BC0033253B /* Swizzlable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Swizzlable.swift; path = Sources/JSONMock/Swizzlable.swift; sourceTree = SOURCE_ROOT; };
A82B494D21BF86BC0033253B /* Mock+JSON.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "Mock+JSON.swift"; path = "Sources/JSONMock/Mock+JSON.swift"; sourceTree = SOURCE_ROOT; };
A82B495521BF872E0033253B /* Entryable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Entryable.swift; sourceTree = "<group>"; };
A82B495621BF872E0033253B /* Entryable+JSONDecodeKit.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Entryable+JSONDecodeKit.swift"; sourceTree = "<group>"; };
A82B495721BF872E0033253B /* Entryable+Codable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Entryable+Codable.swift"; sourceTree = "<group>"; };
A82B495A21BF872E0033253B /* NetError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetError.swift; sourceTree = "<group>"; };
A82B495C21BF872E0033253B /* Codable+Ex.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Codable+Ex.swift"; sourceTree = "<group>"; };
A82B495E21BF872E0033253B /* Response.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Sources/YumeAlamofire/Response.swift; sourceTree = SOURCE_ROOT; };
A82B495F21BF872E0033253B /* ParameterType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ParameterType.swift; path = Sources/YumeAlamofire/ParameterType.swift; sourceTree = SOURCE_ROOT; };
A82B496021BF872E0033253B /* YumeAlamofire.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = YumeAlamofire.swift; path = Sources/YumeAlamofire/YumeAlamofire.swift; sourceTree = SOURCE_ROOT; };
A82B496E21BF87950033253B /* Encodable+Ex.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = "Encodable+Ex.swift"; path = "Sources/JSONMock/Encodable+Ex.swift"; sourceTree = SOURCE_ROOT; };
A83E4BD120C8DAAA00F27CE5 /* LocalEntry.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalEntry.swift; sourceTree = "<group>"; };
A83E4BD320C8DD1300F27CE5 /* AwaitKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AwaitKit.framework; path = Carthage/Build/iOS/AwaitKit.framework; sourceTree = "<group>"; };
A83E4BD420C8DD1300F27CE5 /* PromiseKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PromiseKit.framework; path = Carthage/Build/iOS/PromiseKit.framework; sourceTree = "<group>"; };
A83E4BD920C8DD5C00F27CE5 /* JSONDecodeKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JSONDecodeKit.framework; path = Carthage/Build/iOS/JSONDecodeKit.framework; sourceTree = "<group>"; };
A877868C22BC7B6C00771158 /* YumeAlamofire.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = YumeAlamofire.podspec; sourceTree = "<group>"; };
A88D29AF22CE06920050F43B /* Entryable+Rx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Entryable+Rx.swift"; sourceTree = "<group>"; };
A8ADE5C822C4739B005357DF /* Fake.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Fake.swift; path = Sources/JSONMock/Fake.swift; sourceTree = SOURCE_ROOT; };
A8B0E97A224B2A2200B34753 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = Carthage/Build/iOS/RxSwift.framework; sourceTree = "<group>"; };
A8F40FE41FF3809B000F01E5 /* YumeAlamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YumeAlamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A8F40FE61FF3809B000F01E5 /* YumeAlamofire.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YumeAlamofire.h; sourceTree = "<group>"; };
A8F40FE71FF3809B000F01E5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A8F40FF91FF38558000F01E5 /* Alamofire.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Alamofire.framework; path = Carthage/Build/iOS/Alamofire.framework; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
A8051EC1200718510010EEE7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A8051EC9200718520010EEE7 /* YumeAlamofire.framework in Frameworks */,
A8051ED42007194E0010EEE7 /* Alamofire.framework in Frameworks */,
A83E4BDA20C8DD5C00F27CE5 /* JSONDecodeKit.framework in Frameworks */,
A83E4BD520C8DD1300F27CE5 /* AwaitKit.framework in Frameworks */,
A83E4BD620C8DD1300F27CE5 /* PromiseKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A82B493821BF823C0033253B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A82B494A21BF85980033253B /* YumeAlamofire.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A8F40FE01FF3809B000F01E5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
A8051EC5200718520010EEE7 /* YumeAlamofireTests */ = {
isa = PBXGroup;
children = (
A8051EC6200718520010EEE7 /* YumeAlamofireTests.swift */,
A83E4BD120C8DAAA00F27CE5 /* LocalEntry.swift */,
A8051EC8200718520010EEE7 /* Info.plist */,
);
path = YumeAlamofireTests;
sourceTree = "<group>";
};
A8281FA420737C9B00725A91 /* Lib */ = {
isa = PBXGroup;
children = (
A88D29AE22CE06920050F43B /* Rx */,
A82B495421BF872E0033253B /* Entry */,
A82B495921BF872E0033253B /* Error */,
A82B495B21BF872E0033253B /* Misc */,
A82B495F21BF872E0033253B /* ParameterType.swift */,
A82B495E21BF872E0033253B /* Response.swift */,
A82B496021BF872E0033253B /* YumeAlamofire.swift */,
);
name = Lib;
sourceTree = "<group>";
};
A82B493C21BF823D0033253B /* JSONMock */ = {
isa = PBXGroup;
children = (
A8ADE5C822C4739B005357DF /* Fake.swift */,
A82B494D21BF86BC0033253B /* Mock+JSON.swift */,
A82B496E21BF87950033253B /* Encodable+Ex.swift */,
A82B494C21BF86BC0033253B /* Swizzlable.swift */,
A82B494B21BF86BB0033253B /* SwizzleURLConfig.swift */,
A82B493D21BF823D0033253B /* JSONMock.h */,
A82B493E21BF823D0033253B /* Info.plist */,
);
path = JSONMock;
sourceTree = "<group>";
};
A82B495421BF872E0033253B /* Entry */ = {
isa = PBXGroup;
children = (
A82B495521BF872E0033253B /* Entryable.swift */,
A82B495621BF872E0033253B /* Entryable+JSONDecodeKit.swift */,
A82B495721BF872E0033253B /* Entryable+Codable.swift */,
);
name = Entry;
path = Sources/YumeAlamofire/Entry;
sourceTree = SOURCE_ROOT;
};
A82B495921BF872E0033253B /* Error */ = {
isa = PBXGroup;
children = (
A82B495A21BF872E0033253B /* NetError.swift */,
);
name = Error;
path = Sources/YumeAlamofire/Error;
sourceTree = SOURCE_ROOT;
};
A82B495B21BF872E0033253B /* Misc */ = {
isa = PBXGroup;
children = (
A82B495C21BF872E0033253B /* Codable+Ex.swift */,
);
name = Misc;
path = Sources/YumeAlamofire/Misc;
sourceTree = SOURCE_ROOT;
};
A88D29AE22CE06920050F43B /* Rx */ = {
isa = PBXGroup;
children = (
A88D29AF22CE06920050F43B /* Entryable+Rx.swift */,
);
name = Rx;
path = Sources/Rx;
sourceTree = SOURCE_ROOT;
};
A8F40FC11FF38068000F01E5 = {
isa = PBXGroup;
children = (
A877868C22BC7B6C00771158 /* YumeAlamofire.podspec */,
A8F40FE51FF3809B000F01E5 /* YumeAlamofire */,
A8051EC5200718520010EEE7 /* YumeAlamofireTests */,
A82B493C21BF823D0033253B /* JSONMock */,
A8F40FCB1FF38068000F01E5 /* Products */,
A8F40FF71FF38558000F01E5 /* Frameworks */,
);
sourceTree = "<group>";
};
A8F40FCB1FF38068000F01E5 /* Products */ = {
isa = PBXGroup;
children = (
A8F40FE41FF3809B000F01E5 /* YumeAlamofire.framework */,
A8051EC4200718510010EEE7 /* YumeAlamofireTests.xctest */,
A82B493B21BF823C0033253B /* JSONMock.framework */,
);
name = Products;
sourceTree = "<group>";
};
A8F40FE51FF3809B000F01E5 /* YumeAlamofire */ = {
isa = PBXGroup;
children = (
A8281FA420737C9B00725A91 /* Lib */,
A8F40FE61FF3809B000F01E5 /* YumeAlamofire.h */,
A8F40FE71FF3809B000F01E5 /* Info.plist */,
);
path = YumeAlamofire;
sourceTree = "<group>";
};
A8F40FF71FF38558000F01E5 /* Frameworks */ = {
isa = PBXGroup;
children = (
A8B0E97A224B2A2200B34753 /* RxSwift.framework */,
A83E4BD920C8DD5C00F27CE5 /* JSONDecodeKit.framework */,
A83E4BD320C8DD1300F27CE5 /* AwaitKit.framework */,
A83E4BD420C8DD1300F27CE5 /* PromiseKit.framework */,
A8F40FF91FF38558000F01E5 /* Alamofire.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
A82B493621BF823C0033253B /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
A82B493F21BF823D0033253B /* JSONMock.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A8F40FE11FF3809B000F01E5 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
A8F40FE81FF3809B000F01E5 /* YumeAlamofire.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
A8051EC3200718510010EEE7 /* YumeAlamofireTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = A8051ECE200718520010EEE7 /* Build configuration list for PBXNativeTarget "YumeAlamofireTests" */;
buildPhases = (
A8051EC0200718510010EEE7 /* Sources */,
A8051EC1200718510010EEE7 /* Frameworks */,
A8051EC2200718510010EEE7 /* Resources */,
A8051ED1200718FD0010EEE7 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
A82B494621BF85310033253B /* PBXTargetDependency */,
A8051ECB200718520010EEE7 /* PBXTargetDependency */,
);
name = YumeAlamofireTests;
productName = YumeAlamofireTests;
productReference = A8051EC4200718510010EEE7 /* YumeAlamofireTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
A82B493A21BF823C0033253B /* JSONMock */ = {
isa = PBXNativeTarget;
buildConfigurationList = A82B494021BF823D0033253B /* Build configuration list for PBXNativeTarget "JSONMock" */;
buildPhases = (
A82B493621BF823C0033253B /* Headers */,
A82B493721BF823C0033253B /* Sources */,
A82B493821BF823C0033253B /* Frameworks */,
A82B493921BF823C0033253B /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = JSONMock;
productName = JSONMock;
productReference = A82B493B21BF823C0033253B /* JSONMock.framework */;
productType = "com.apple.product-type.framework";
};
A8F40FE31FF3809B000F01E5 /* YumeAlamofire */ = {
isa = PBXNativeTarget;
buildConfigurationList = A8F40FE91FF3809B000F01E5 /* Build configuration list for PBXNativeTarget "YumeAlamofire" */;
buildPhases = (
A8F40FDF1FF3809B000F01E5 /* Sources */,
A8F40FE01FF3809B000F01E5 /* Frameworks */,
A8F40FE11FF3809B000F01E5 /* Headers */,
A8F40FE21FF3809B000F01E5 /* Resources */,
A83EAF7621C781360016FADE /* Lint */,
);
buildRules = (
);
dependencies = (
);
name = YumeAlamofire;
productName = YumeAlamofire;
productReference = A8F40FE41FF3809B000F01E5 /* YumeAlamofire.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
A8F40FC21FF38068000F01E5 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 0930;
ORGANIZATIONNAME = Yume;
TargetAttributes = {
A8051EC3200718510010EEE7 = {
CreatedOnToolsVersion = 9.2;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic;
};
A82B493A21BF823C0033253B = {
CreatedOnToolsVersion = 10.1;
LastSwiftMigration = 1010;
ProvisioningStyle = Manual;
};
A8F40FE31FF3809B000F01E5 = {
CreatedOnToolsVersion = 9.2;
LastSwiftMigration = 1000;
ProvisioningStyle = Manual;
};
};
};
buildConfigurationList = A8F40FC51FF38068000F01E5 /* Build configuration list for PBXProject "YumeAlamofire" */;
compatibilityVersion = "Xcode 8.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = A8F40FC11FF38068000F01E5;
productRefGroup = A8F40FCB1FF38068000F01E5 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
A8F40FE31FF3809B000F01E5 /* YumeAlamofire */,
A82B493A21BF823C0033253B /* JSONMock */,
A8051EC3200718510010EEE7 /* YumeAlamofireTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
A8051EC2200718510010EEE7 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
A82B493921BF823C0033253B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
A8F40FE21FF3809B000F01E5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
A83EAF7621C781360016FADE /* Lint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = Lint;
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
A8051EC0200718510010EEE7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A83E4BD220C8DAAA00F27CE5 /* LocalEntry.swift in Sources */,
A8051EC7200718520010EEE7 /* YumeAlamofireTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A82B493721BF823C0033253B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A82B495021BF86BC0033253B /* Mock+JSON.swift in Sources */,
A8ADE5C922C4739B005357DF /* Fake.swift in Sources */,
A82B494F21BF86BC0033253B /* Swizzlable.swift in Sources */,
A82B496F21BF87950033253B /* Encodable+Ex.swift in Sources */,
A82B494E21BF86BC0033253B /* SwizzleURLConfig.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A8F40FDF1FF3809B000F01E5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A82B496321BF872E0033253B /* Entryable.swift in Sources */,
A82B496421BF872E0033253B /* Entryable+JSONDecodeKit.swift in Sources */,
A82B496C21BF872E0033253B /* YumeAlamofire.swift in Sources */,
A88D29B022CE06920050F43B /* Entryable+Rx.swift in Sources */,
A82B496721BF872E0033253B /* NetError.swift in Sources */,
A82B496B21BF872E0033253B /* ParameterType.swift in Sources */,
A82B496521BF872E0033253B /* Entryable+Codable.swift in Sources */,
A82B496A21BF872E0033253B /* Response.swift in Sources */,
A82B496821BF872E0033253B /* Codable+Ex.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
A8051ECB200718520010EEE7 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = A8F40FE31FF3809B000F01E5 /* YumeAlamofire */;
targetProxy = A8051ECA200718520010EEE7 /* PBXContainerItemProxy */;
};
A82B494621BF85310033253B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = A82B493A21BF823C0033253B /* JSONMock */;
targetProxy = A82B494521BF85310033253B /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
A8051ECC200718520010EEE7 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 37MR9UKGT4;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = YumeAlamofireTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.YumeAlamofireTests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
A8051ECD200718520010EEE7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 37MR9UKGT4;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = YumeAlamofireTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.YumeAlamofireTests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
A82B494121BF823D0033253B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = JSONMock/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 5.0.6;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.JSONMock;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
A82B494221BF823D0033253B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = JSONMock/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 5.0.6;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.JSONMock;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
A8F40FDA1FF38068000F01E5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
A8F40FDB1FF38068000F01E5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
A8F40FEA1FF3809B000F01E5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = YumeAlamofire/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 5.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.YumeAlamofire;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
A8F40FEB1FF3809B000F01E5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = YumeAlamofire/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 5.0.6;
PRODUCT_BUNDLE_IDENTIFIER = com.yume190.YumeAlamofire;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
A8051ECE200718520010EEE7 /* Build configuration list for PBXNativeTarget "YumeAlamofireTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A8051ECC200718520010EEE7 /* Debug */,
A8051ECD200718520010EEE7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A82B494021BF823D0033253B /* Build configuration list for PBXNativeTarget "JSONMock" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A82B494121BF823D0033253B /* Debug */,
A82B494221BF823D0033253B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A8F40FC51FF38068000F01E5 /* Build configuration list for PBXProject "YumeAlamofire" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A8F40FDA1FF38068000F01E5 /* Debug */,
A8F40FDB1FF38068000F01E5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
A8F40FE91FF3809B000F01E5 /* Build configuration list for PBXNativeTarget "YumeAlamofire" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A8F40FEA1FF3809B000F01E5 /* Debug */,
A8F40FEB1FF3809B000F01E5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = A8F40FC21FF38068000F01E5 /* Project object */;
}

View File

@ -1,100 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8F40FE31FF3809B000F01E5"
BuildableName = "YumeAlamofire.framework"
BlueprintName = "YumeAlamofire"
ReferencedContainer = "container:YumeAlamofire.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8051EC3200718510010EEE7"
BuildableName = "YumeAlamofireTests.xctest"
BlueprintName = "YumeAlamofireTests"
ReferencedContainer = "container:YumeAlamofire.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8F40FE31FF3809B000F01E5"
BuildableName = "YumeAlamofire.framework"
BlueprintName = "YumeAlamofire"
ReferencedContainer = "container:YumeAlamofire.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 = "A8F40FE31FF3809B000F01E5"
BuildableName = "YumeAlamofire.framework"
BlueprintName = "YumeAlamofire"
ReferencedContainer = "container:YumeAlamofire.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A8F40FE31FF3809B000F01E5"
BuildableName = "YumeAlamofire.framework"
BlueprintName = "YumeAlamofire"
ReferencedContainer = "container:YumeAlamofire.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>