diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..039bd09
Binary files /dev/null and b/.DS_Store differ
diff --git a/.gitignore b/.gitignore
index 47250be..cbb240b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
## User settings
xcuserdata/
+*.xcodeproj
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
diff --git a/Package.resolved b/Package.resolved
index be28f61..dd2116a 100644
--- a/Package.resolved
+++ b/Package.resolved
@@ -10,6 +10,33 @@
"version": "5.0.1"
}
},
+ {
+ "package": "Nimble",
+ "repositoryURL": "https://github.com/Quick/Nimble.git",
+ "state": {
+ "branch": null,
+ "revision": "f8657642dfdec9973efc79cc68bcef43a653a2bc",
+ "version": "8.0.2"
+ }
+ },
+ {
+ "package": "Quick",
+ "repositoryURL": "https://github.com/Quick/Quick.git",
+ "state": {
+ "branch": null,
+ "revision": "33682c2f6230c60614861dfc61df267e11a1602f",
+ "version": "2.2.0"
+ }
+ },
+ {
+ "package": "RxSwift",
+ "repositoryURL": "https://github.com/ReactiveX/RxSwift.git",
+ "state": {
+ "branch": null,
+ "revision": "b3e888b4972d9bc76495dd74d30a8c7fad4b9395",
+ "version": "5.0.1"
+ }
+ },
{
"package": "Starscream",
"repositoryURL": "https://github.com/daltoniam/Starscream.git",
diff --git a/Package.swift b/Package.swift
index 92eaba4..55cfe4c 100644
--- a/Package.swift
+++ b/Package.swift
@@ -14,6 +14,9 @@ let package = Package(
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/daltoniam/Starscream.git", .exact("3.1.1")),
.package(url: "https://github.com/alibaba/HandyJSON.git", .exact("5.0.1")),
+ .package(url: "https://github.com/Quick/Quick.git", .exact("2.2.0")),
+ .package(url: "https://github.com/Quick/Nimble.git", .exact("8.0.2")),
+ .package(url: "https://github.com/ReactiveX/RxSwift.git", from: "5.0.0")
],
targets: [
.target(
@@ -28,7 +31,17 @@ let package = Package(
"ScClient",
]),
.testTarget(
- name: "ScClientTests",
- dependencies: ["ScClient"])
+ name: "Integration",
+ dependencies: [
+ "ScClient",
+ "Quick",
+ "Nimble",
+ "RxSwift"
+ ]),
+ .testTarget(
+ name: "Unit",
+ dependencies: [
+ "ScClient"
+ ])
]
)
diff --git a/ScClient.xcodeproj/HandyJSON_Info.plist b/ScClient.xcodeproj/HandyJSON_Info.plist
deleted file mode 100644
index 57ada9f..0000000
--- a/ScClient.xcodeproj/HandyJSON_Info.plist
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- $(CURRENT_PROJECT_VERSION)
- NSPrincipalClass
-
-
-
diff --git a/ScClient.xcodeproj/ScClientTests_Info.plist b/ScClient.xcodeproj/ScClientTests_Info.plist
deleted file mode 100644
index 7c23420..0000000
--- a/ScClient.xcodeproj/ScClientTests_Info.plist
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- BNDL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- $(CURRENT_PROJECT_VERSION)
- NSPrincipalClass
-
-
-
diff --git a/ScClient.xcodeproj/ScClient_Info.plist b/ScClient.xcodeproj/ScClient_Info.plist
deleted file mode 100644
index 57ada9f..0000000
--- a/ScClient.xcodeproj/ScClient_Info.plist
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- $(CURRENT_PROJECT_VERSION)
- NSPrincipalClass
-
-
-
diff --git a/ScClient.xcodeproj/Starscream_Info.plist b/ScClient.xcodeproj/Starscream_Info.plist
deleted file mode 100644
index 57ada9f..0000000
--- a/ScClient.xcodeproj/Starscream_Info.plist
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- $(CURRENT_PROJECT_VERSION)
- NSPrincipalClass
-
-
-
diff --git a/ScClient.xcodeproj/project.pbxproj b/ScClient.xcodeproj/project.pbxproj
deleted file mode 100644
index 8ba2646..0000000
--- a/ScClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1766 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = "1";
- objectVersion = "46";
- objects = {
- "HandyJSON::HandyJSON" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_85";
- buildPhases = (
- "OBJ_88",
- "OBJ_124"
- );
- dependencies = (
- );
- name = "HandyJSON";
- productName = "HandyJSON";
- productReference = "HandyJSON::HandyJSON::Product";
- productType = "com.apple.product-type.framework";
- };
- "HandyJSON::HandyJSON::Product" = {
- isa = "PBXFileReference";
- path = "HandyJSON.framework";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "HandyJSON::SwiftPMPackageDescription" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_126";
- buildPhases = (
- "OBJ_129"
- );
- dependencies = (
- );
- name = "HandyJSONPackageDescription";
- productName = "HandyJSONPackageDescription";
- productType = "com.apple.product-type.framework";
- };
- "OBJ_1" = {
- isa = "PBXProject";
- attributes = {
- LastSwiftMigration = "9999";
- LastUpgradeCheck = "9999";
- };
- buildConfigurationList = "OBJ_2";
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = "en";
- hasScannedForEncodings = "0";
- knownRegions = (
- "en"
- );
- mainGroup = "OBJ_5";
- productRefGroup = "OBJ_73";
- projectDirPath = ".";
- targets = (
- "HandyJSON::HandyJSON",
- "HandyJSON::SwiftPMPackageDescription",
- "ScClient::Main",
- "ScClient::ScClient",
- "ScClient::SwiftPMPackageDescription",
- "ScClient::ScClientPackageTests::ProductTarget",
- "ScClient::ScClientTests",
- "Starscream::Starscream",
- "Starscream::SwiftPMPackageDescription"
- );
- };
- "OBJ_10" = {
- isa = "PBXGroup";
- children = (
- "OBJ_11",
- "OBJ_13",
- "OBJ_15",
- "OBJ_17",
- "OBJ_21"
- );
- name = "ScClient";
- path = "Sources/ScClient";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_100" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_42";
- };
- "OBJ_101" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_43";
- };
- "OBJ_102" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_44";
- };
- "OBJ_103" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_45";
- };
- "OBJ_104" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_46";
- };
- "OBJ_105" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_47";
- };
- "OBJ_106" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_48";
- };
- "OBJ_107" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_49";
- };
- "OBJ_108" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_50";
- };
- "OBJ_109" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_51";
- };
- "OBJ_11" = {
- isa = "PBXGroup";
- children = (
- "OBJ_12"
- );
- name = "Emitter";
- path = "Emitter";
- sourceTree = "";
- };
- "OBJ_110" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_52";
- };
- "OBJ_111" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_53";
- };
- "OBJ_112" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_54";
- };
- "OBJ_113" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_55";
- };
- "OBJ_114" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_56";
- };
- "OBJ_115" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_57";
- };
- "OBJ_116" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_58";
- };
- "OBJ_117" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_59";
- };
- "OBJ_118" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_60";
- };
- "OBJ_119" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_61";
- };
- "OBJ_12" = {
- isa = "PBXFileReference";
- path = "Listener.swift";
- sourceTree = "";
- };
- "OBJ_120" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_62";
- };
- "OBJ_121" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_63";
- };
- "OBJ_122" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_64";
- };
- "OBJ_123" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_65";
- };
- "OBJ_124" = {
- isa = "PBXFrameworksBuildPhase";
- files = (
- );
- };
- "OBJ_126" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_127",
- "OBJ_128"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_127" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4"
- );
- SWIFT_VERSION = "4.0";
- };
- name = "Debug";
- };
- "OBJ_128" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4"
- );
- SWIFT_VERSION = "4.0";
- };
- name = "Release";
- };
- "OBJ_129" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_130"
- );
- };
- "OBJ_13" = {
- isa = "PBXGroup";
- children = (
- "OBJ_14"
- );
- name = "Models";
- path = "Models";
- sourceTree = "";
- };
- "OBJ_130" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_30";
- };
- "OBJ_132" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_133",
- "OBJ_134"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_133" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/Main_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
- "@executable_path"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_FORCE_DYNAMIC_LINK_STDLIB = "YES";
- SWIFT_FORCE_STATIC_LINK_STDLIB = "NO";
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "Main";
- };
- name = "Debug";
- };
- "OBJ_134" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/Main_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
- "@executable_path"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_FORCE_DYNAMIC_LINK_STDLIB = "YES";
- SWIFT_FORCE_STATIC_LINK_STDLIB = "NO";
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "Main";
- };
- name = "Release";
- };
- "OBJ_135" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_136"
- );
- };
- "OBJ_136" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_9";
- };
- "OBJ_137" = {
- isa = "PBXFrameworksBuildPhase";
- files = (
- "OBJ_138",
- "OBJ_139",
- "OBJ_140"
- );
- };
- "OBJ_138" = {
- isa = "PBXBuildFile";
- fileRef = "ScClient::ScClient::Product";
- };
- "OBJ_139" = {
- isa = "PBXBuildFile";
- fileRef = "HandyJSON::HandyJSON::Product";
- };
- "OBJ_14" = {
- isa = "PBXFileReference";
- path = "Event.swift";
- sourceTree = "";
- };
- "OBJ_140" = {
- isa = "PBXBuildFile";
- fileRef = "Starscream::Starscream::Product";
- };
- "OBJ_141" = {
- isa = "PBXTargetDependency";
- target = "ScClient::ScClient";
- };
- "OBJ_143" = {
- isa = "PBXTargetDependency";
- target = "HandyJSON::HandyJSON";
- };
- "OBJ_144" = {
- isa = "PBXTargetDependency";
- target = "Starscream::Starscream";
- };
- "OBJ_146" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_147",
- "OBJ_148"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_147" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/ScClient_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "ScClient";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "ScClient";
- };
- name = "Debug";
- };
- "OBJ_148" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/ScClient_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "ScClient";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "ScClient";
- };
- name = "Release";
- };
- "OBJ_149" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_150",
- "OBJ_151",
- "OBJ_152",
- "OBJ_153",
- "OBJ_154",
- "OBJ_155",
- "OBJ_156"
- );
- };
- "OBJ_15" = {
- isa = "PBXGroup";
- children = (
- "OBJ_16"
- );
- name = "Parser";
- path = "Parser";
- sourceTree = "";
- };
- "OBJ_150" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_12";
- };
- "OBJ_151" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_14";
- };
- "OBJ_152" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_16";
- };
- "OBJ_153" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_18";
- };
- "OBJ_154" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_19";
- };
- "OBJ_155" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_20";
- };
- "OBJ_156" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_21";
- };
- "OBJ_157" = {
- isa = "PBXFrameworksBuildPhase";
- files = (
- "OBJ_158",
- "OBJ_159"
- );
- };
- "OBJ_158" = {
- isa = "PBXBuildFile";
- fileRef = "HandyJSON::HandyJSON::Product";
- };
- "OBJ_159" = {
- isa = "PBXBuildFile";
- fileRef = "Starscream::Starscream::Product";
- };
- "OBJ_16" = {
- isa = "PBXFileReference";
- path = "Parser.swift";
- sourceTree = "";
- };
- "OBJ_160" = {
- isa = "PBXTargetDependency";
- target = "HandyJSON::HandyJSON";
- };
- "OBJ_161" = {
- isa = "PBXTargetDependency";
- target = "Starscream::Starscream";
- };
- "OBJ_163" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_164",
- "OBJ_165"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_164" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4"
- );
- SWIFT_VERSION = "4.0";
- };
- name = "Debug";
- };
- "OBJ_165" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4"
- );
- SWIFT_VERSION = "4.0";
- };
- name = "Release";
- };
- "OBJ_166" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_167"
- );
- };
- "OBJ_167" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_6";
- };
- "OBJ_169" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_170",
- "OBJ_171"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_17" = {
- isa = "PBXGroup";
- children = (
- "OBJ_18",
- "OBJ_19",
- "OBJ_20"
- );
- name = "Utils";
- path = "Utils";
- sourceTree = "";
- };
- "OBJ_170" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- };
- name = "Debug";
- };
- "OBJ_171" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- };
- name = "Release";
- };
- "OBJ_172" = {
- isa = "PBXTargetDependency";
- target = "ScClient::ScClientTests";
- };
- "OBJ_174" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_175",
- "OBJ_176"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_175" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- CLANG_ENABLE_MODULES = "YES";
- EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/ScClientTests_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@loader_path/../Frameworks",
- "@loader_path/Frameworks"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "ScClientTests";
- };
- name = "Debug";
- };
- "OBJ_176" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- CLANG_ENABLE_MODULES = "YES";
- EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/ScClientTests_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@loader_path/../Frameworks",
- "@loader_path/Frameworks"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "ScClientTests";
- };
- name = "Release";
- };
- "OBJ_177" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_178",
- "OBJ_179",
- "OBJ_180",
- "OBJ_181"
- );
- };
- "OBJ_178" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_24";
- };
- "OBJ_179" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_25";
- };
- "OBJ_18" = {
- isa = "PBXFileReference";
- path = "AtomicInteger.swift";
- sourceTree = "";
- };
- "OBJ_180" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_26";
- };
- "OBJ_181" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_27";
- };
- "OBJ_182" = {
- isa = "PBXFrameworksBuildPhase";
- files = (
- "OBJ_183",
- "OBJ_184",
- "OBJ_185"
- );
- };
- "OBJ_183" = {
- isa = "PBXBuildFile";
- fileRef = "ScClient::ScClient::Product";
- };
- "OBJ_184" = {
- isa = "PBXBuildFile";
- fileRef = "HandyJSON::HandyJSON::Product";
- };
- "OBJ_185" = {
- isa = "PBXBuildFile";
- fileRef = "Starscream::Starscream::Product";
- };
- "OBJ_186" = {
- isa = "PBXTargetDependency";
- target = "ScClient::ScClient";
- };
- "OBJ_187" = {
- isa = "PBXTargetDependency";
- target = "HandyJSON::HandyJSON";
- };
- "OBJ_188" = {
- isa = "PBXTargetDependency";
- target = "Starscream::Starscream";
- };
- "OBJ_189" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_190",
- "OBJ_191"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_19" = {
- isa = "PBXFileReference";
- path = "ClientUtils.swift";
- sourceTree = "";
- };
- "OBJ_190" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/Starscream_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "Starscream";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.2";
- TARGET_NAME = "Starscream";
- };
- name = "Debug";
- };
- "OBJ_191" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- "$(SRCROOT)/.build/checkouts/swift-nio-zlib-support"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/Starscream_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "Starscream";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.2";
- TARGET_NAME = "Starscream";
- };
- name = "Release";
- };
- "OBJ_192" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_193",
- "OBJ_194",
- "OBJ_195",
- "OBJ_196"
- );
- };
- "OBJ_193" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_68";
- };
- "OBJ_194" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_69";
- };
- "OBJ_195" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_70";
- };
- "OBJ_196" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_71";
- };
- "OBJ_197" = {
- isa = "PBXFrameworksBuildPhase";
- files = (
- );
- };
- "OBJ_199" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_200",
- "OBJ_201"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_2" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_3",
- "OBJ_4"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_20" = {
- isa = "PBXFileReference";
- path = "Miscellaneous.swift";
- sourceTree = "";
- };
- "OBJ_200" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4.2",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4.2"
- );
- SWIFT_VERSION = "4.2";
- };
- name = "Debug";
- };
- "OBJ_201" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- LD = "/usr/bin/true";
- OTHER_SWIFT_FLAGS = (
- "-swift-version",
- "4.2",
- "-I",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2",
- "-target",
- "x86_64-apple-macosx10.10",
- "-sdk",
- "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk",
- "-package-description-version",
- "4.2"
- );
- SWIFT_VERSION = "4.2";
- };
- name = "Release";
- };
- "OBJ_202" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_203"
- );
- };
- "OBJ_203" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_72";
- };
- "OBJ_21" = {
- isa = "PBXFileReference";
- path = "client.swift";
- sourceTree = "";
- };
- "OBJ_22" = {
- isa = "PBXGroup";
- children = (
- "OBJ_23"
- );
- name = "Tests";
- path = "";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_23" = {
- isa = "PBXGroup";
- children = (
- "OBJ_24",
- "OBJ_25",
- "OBJ_26",
- "OBJ_27"
- );
- name = "ScClientTests";
- path = "Tests/ScClientTests";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_24" = {
- isa = "PBXFileReference";
- path = "ClientUtilsTest.swift";
- sourceTree = "";
- };
- "OBJ_25" = {
- isa = "PBXFileReference";
- path = "MiscellaneousTest.swift";
- sourceTree = "";
- };
- "OBJ_26" = {
- isa = "PBXFileReference";
- path = "ParserTest.swift";
- sourceTree = "";
- };
- "OBJ_27" = {
- isa = "PBXFileReference";
- path = "UtilsTest.swift";
- sourceTree = "";
- };
- "OBJ_28" = {
- isa = "PBXGroup";
- children = (
- "OBJ_29",
- "OBJ_66"
- );
- name = "Dependencies";
- path = "";
- sourceTree = "";
- };
- "OBJ_29" = {
- isa = "PBXGroup";
- children = (
- "OBJ_30",
- "OBJ_31",
- "OBJ_32",
- "OBJ_33",
- "OBJ_34",
- "OBJ_35",
- "OBJ_36",
- "OBJ_37",
- "OBJ_38",
- "OBJ_39",
- "OBJ_40",
- "OBJ_41",
- "OBJ_42",
- "OBJ_43",
- "OBJ_44",
- "OBJ_45",
- "OBJ_46",
- "OBJ_47",
- "OBJ_48",
- "OBJ_49",
- "OBJ_50",
- "OBJ_51",
- "OBJ_52",
- "OBJ_53",
- "OBJ_54",
- "OBJ_55",
- "OBJ_56",
- "OBJ_57",
- "OBJ_58",
- "OBJ_59",
- "OBJ_60",
- "OBJ_61",
- "OBJ_62",
- "OBJ_63",
- "OBJ_64",
- "OBJ_65"
- );
- name = "HandyJSON 5.0.1";
- path = ".build/checkouts/HandyJSON/Source";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_3" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = "YES";
- COMBINE_HIDPI_IMAGES = "YES";
- COPY_PHASE_STRIP = "NO";
- DEBUG_INFORMATION_FORMAT = "dwarf";
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- ENABLE_NS_ASSERTIONS = "YES";
- GCC_OPTIMIZATION_LEVEL = "0";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "$(inherited)",
- "SWIFT_PACKAGE=1",
- "DEBUG=1"
- );
- MACOSX_DEPLOYMENT_TARGET = "10.10";
- ONLY_ACTIVE_ARCH = "YES";
- OTHER_SWIFT_FLAGS = (
- "$(inherited)",
- "-DXcode"
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = "macosx";
- SUPPORTED_PLATFORMS = (
- "macosx",
- "iphoneos",
- "iphonesimulator",
- "appletvos",
- "appletvsimulator",
- "watchos",
- "watchsimulator"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)",
- "SWIFT_PACKAGE",
- "DEBUG"
- );
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- USE_HEADERMAP = "NO";
- };
- name = "Debug";
- };
- "OBJ_30" = {
- isa = "PBXFileReference";
- explicitFileType = "sourcecode.swift";
- name = "Package.swift";
- path = "/Users/sachinshinde/SwiftProjects/socketcluster-client-swift/.build/checkouts/HandyJSON/Package.swift";
- sourceTree = "";
- };
- "OBJ_31" = {
- isa = "PBXFileReference";
- path = "AnyExtensions.swift";
- sourceTree = "";
- };
- "OBJ_32" = {
- isa = "PBXFileReference";
- path = "BuiltInBasicType.swift";
- sourceTree = "";
- };
- "OBJ_33" = {
- isa = "PBXFileReference";
- path = "BuiltInBridgeType.swift";
- sourceTree = "";
- };
- "OBJ_34" = {
- isa = "PBXFileReference";
- path = "CBridge.swift";
- sourceTree = "";
- };
- "OBJ_35" = {
- isa = "PBXFileReference";
- path = "Configuration.swift";
- sourceTree = "";
- };
- "OBJ_36" = {
- isa = "PBXFileReference";
- path = "ContextDescriptorType.swift";
- sourceTree = "";
- };
- "OBJ_37" = {
- isa = "PBXFileReference";
- path = "CustomDateFormatTransform.swift";
- sourceTree = "";
- };
- "OBJ_38" = {
- isa = "PBXFileReference";
- path = "DataTransform.swift";
- sourceTree = "";
- };
- "OBJ_39" = {
- isa = "PBXFileReference";
- path = "DateFormatterTransform.swift";
- sourceTree = "";
- };
- "OBJ_4" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- CLANG_ENABLE_OBJC_ARC = "YES";
- COMBINE_HIDPI_IMAGES = "YES";
- COPY_PHASE_STRIP = "YES";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- GCC_OPTIMIZATION_LEVEL = "s";
- GCC_PREPROCESSOR_DEFINITIONS = (
- "$(inherited)",
- "SWIFT_PACKAGE=1"
- );
- MACOSX_DEPLOYMENT_TARGET = "10.10";
- OTHER_SWIFT_FLAGS = (
- "$(inherited)",
- "-DXcode"
- );
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = "macosx";
- SUPPORTED_PLATFORMS = (
- "macosx",
- "iphoneos",
- "iphonesimulator",
- "appletvos",
- "appletvsimulator",
- "watchos",
- "watchsimulator"
- );
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)",
- "SWIFT_PACKAGE"
- );
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- USE_HEADERMAP = "NO";
- };
- name = "Release";
- };
- "OBJ_40" = {
- isa = "PBXFileReference";
- path = "DateTransform.swift";
- sourceTree = "";
- };
- "OBJ_41" = {
- isa = "PBXFileReference";
- path = "Deserializer.swift";
- sourceTree = "";
- };
- "OBJ_42" = {
- isa = "PBXFileReference";
- path = "EnumTransform.swift";
- sourceTree = "";
- };
- "OBJ_43" = {
- isa = "PBXFileReference";
- path = "EnumType.swift";
- sourceTree = "";
- };
- "OBJ_44" = {
- isa = "PBXFileReference";
- path = "Export.swift";
- sourceTree = "";
- };
- "OBJ_45" = {
- isa = "PBXFileReference";
- path = "ExtendCustomBasicType.swift";
- sourceTree = "";
- };
- "OBJ_46" = {
- isa = "PBXFileReference";
- path = "ExtendCustomModelType.swift";
- sourceTree = "";
- };
- "OBJ_47" = {
- isa = "PBXFileReference";
- path = "FieldDescriptor.swift";
- sourceTree = "";
- };
- "OBJ_48" = {
- isa = "PBXFileReference";
- path = "HelpingMapper.swift";
- sourceTree = "";
- };
- "OBJ_49" = {
- isa = "PBXFileReference";
- path = "HexColorTransform.swift";
- sourceTree = "";
- };
- "OBJ_5" = {
- isa = "PBXGroup";
- children = (
- "OBJ_6",
- "OBJ_7",
- "OBJ_22",
- "OBJ_28",
- "OBJ_73",
- "OBJ_79",
- "OBJ_80",
- "OBJ_81",
- "OBJ_82",
- "OBJ_83"
- );
- path = "";
- sourceTree = "";
- };
- "OBJ_50" = {
- isa = "PBXFileReference";
- path = "ISO8601DateTransform.swift";
- sourceTree = "";
- };
- "OBJ_51" = {
- isa = "PBXFileReference";
- path = "Logger.swift";
- sourceTree = "";
- };
- "OBJ_52" = {
- isa = "PBXFileReference";
- path = "MangledName.swift";
- sourceTree = "";
- };
- "OBJ_53" = {
- isa = "PBXFileReference";
- path = "Measuable.swift";
- sourceTree = "";
- };
- "OBJ_54" = {
- isa = "PBXFileReference";
- path = "Metadata.swift";
- sourceTree = "";
- };
- "OBJ_55" = {
- isa = "PBXFileReference";
- path = "NSDecimalNumberTransform.swift";
- sourceTree = "";
- };
- "OBJ_56" = {
- isa = "PBXFileReference";
- path = "OtherExtension.swift";
- sourceTree = "";
- };
- "OBJ_57" = {
- isa = "PBXFileReference";
- path = "PointerType.swift";
- sourceTree = "";
- };
- "OBJ_58" = {
- isa = "PBXFileReference";
- path = "Properties.swift";
- sourceTree = "";
- };
- "OBJ_59" = {
- isa = "PBXFileReference";
- path = "PropertyInfo.swift";
- sourceTree = "";
- };
- "OBJ_6" = {
- isa = "PBXFileReference";
- explicitFileType = "sourcecode.swift";
- path = "Package.swift";
- sourceTree = "";
- };
- "OBJ_60" = {
- isa = "PBXFileReference";
- path = "ReflectionHelper.swift";
- sourceTree = "";
- };
- "OBJ_61" = {
- isa = "PBXFileReference";
- path = "Serializer.swift";
- sourceTree = "";
- };
- "OBJ_62" = {
- isa = "PBXFileReference";
- path = "TransformOf.swift";
- sourceTree = "";
- };
- "OBJ_63" = {
- isa = "PBXFileReference";
- path = "TransformType.swift";
- sourceTree = "";
- };
- "OBJ_64" = {
- isa = "PBXFileReference";
- path = "Transformable.swift";
- sourceTree = "";
- };
- "OBJ_65" = {
- isa = "PBXFileReference";
- path = "URLTransform.swift";
- sourceTree = "";
- };
- "OBJ_66" = {
- isa = "PBXGroup";
- children = (
- "OBJ_67",
- "OBJ_72"
- );
- name = "Starscream 3.1.1";
- path = "";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_67" = {
- isa = "PBXGroup";
- children = (
- "OBJ_68",
- "OBJ_69",
- "OBJ_70",
- "OBJ_71"
- );
- name = "Starscream";
- path = ".build/checkouts/Starscream/Sources/Starscream";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_68" = {
- isa = "PBXFileReference";
- path = "Compression.swift";
- sourceTree = "";
- };
- "OBJ_69" = {
- isa = "PBXFileReference";
- path = "SSLClientCertificate.swift";
- sourceTree = "";
- };
- "OBJ_7" = {
- isa = "PBXGroup";
- children = (
- "OBJ_8",
- "OBJ_10"
- );
- name = "Sources";
- path = "";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_70" = {
- isa = "PBXFileReference";
- path = "SSLSecurity.swift";
- sourceTree = "";
- };
- "OBJ_71" = {
- isa = "PBXFileReference";
- path = "WebSocket.swift";
- sourceTree = "";
- };
- "OBJ_72" = {
- isa = "PBXFileReference";
- explicitFileType = "sourcecode.swift";
- name = "Package.swift";
- path = "/Users/sachinshinde/SwiftProjects/socketcluster-client-swift/.build/checkouts/Starscream/Package.swift";
- sourceTree = "";
- };
- "OBJ_73" = {
- isa = "PBXGroup";
- children = (
- "ScClient::Main::Product",
- "ScClient::ScClient::Product",
- "ScClient::ScClientTests::Product",
- "Starscream::Starscream::Product",
- "HandyJSON::HandyJSON::Product"
- );
- name = "Products";
- path = "";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "OBJ_79" = {
- isa = "PBXFileReference";
- path = "build";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_8" = {
- isa = "PBXGroup";
- children = (
- "OBJ_9"
- );
- name = "Main";
- path = "Sources/Main";
- sourceTree = "SOURCE_ROOT";
- };
- "OBJ_80" = {
- isa = "PBXFileReference";
- path = "LICENSE";
- sourceTree = "";
- };
- "OBJ_81" = {
- isa = "PBXFileReference";
- path = "README.md";
- sourceTree = "";
- };
- "OBJ_82" = {
- isa = "PBXFileReference";
- path = "commands.txt";
- sourceTree = "";
- };
- "OBJ_83" = {
- isa = "PBXFileReference";
- path = "ScClient.podspec";
- sourceTree = "";
- };
- "OBJ_85" = {
- isa = "XCConfigurationList";
- buildConfigurations = (
- "OBJ_86",
- "OBJ_87"
- );
- defaultConfigurationIsVisible = "0";
- defaultConfigurationName = "Release";
- };
- "OBJ_86" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/HandyJSON_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "HandyJSON";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "HandyJSON";
- };
- name = "Debug";
- };
- "OBJ_87" = {
- isa = "XCBuildConfiguration";
- buildSettings = {
- ENABLE_TESTABILITY = "YES";
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "$(PLATFORM_DIR)/Developer/Library/Frameworks"
- );
- HEADER_SEARCH_PATHS = (
- "$(inherited)"
- );
- INFOPLIST_FILE = "ScClient.xcodeproj/HandyJSON_Info.plist";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"
- );
- OTHER_CFLAGS = (
- "$(inherited)"
- );
- OTHER_LDFLAGS = (
- "$(inherited)"
- );
- OTHER_SWIFT_FLAGS = (
- "$(inherited)"
- );
- PRODUCT_BUNDLE_IDENTIFIER = "HandyJSON";
- PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
- PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
- SKIP_INSTALL = "YES";
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = (
- "$(inherited)"
- );
- SWIFT_VERSION = "4.0";
- TARGET_NAME = "HandyJSON";
- };
- name = "Release";
- };
- "OBJ_88" = {
- isa = "PBXSourcesBuildPhase";
- files = (
- "OBJ_89",
- "OBJ_90",
- "OBJ_91",
- "OBJ_92",
- "OBJ_93",
- "OBJ_94",
- "OBJ_95",
- "OBJ_96",
- "OBJ_97",
- "OBJ_98",
- "OBJ_99",
- "OBJ_100",
- "OBJ_101",
- "OBJ_102",
- "OBJ_103",
- "OBJ_104",
- "OBJ_105",
- "OBJ_106",
- "OBJ_107",
- "OBJ_108",
- "OBJ_109",
- "OBJ_110",
- "OBJ_111",
- "OBJ_112",
- "OBJ_113",
- "OBJ_114",
- "OBJ_115",
- "OBJ_116",
- "OBJ_117",
- "OBJ_118",
- "OBJ_119",
- "OBJ_120",
- "OBJ_121",
- "OBJ_122",
- "OBJ_123"
- );
- };
- "OBJ_89" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_31";
- };
- "OBJ_9" = {
- isa = "PBXFileReference";
- path = "main.swift";
- sourceTree = "";
- };
- "OBJ_90" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_32";
- };
- "OBJ_91" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_33";
- };
- "OBJ_92" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_34";
- };
- "OBJ_93" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_35";
- };
- "OBJ_94" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_36";
- };
- "OBJ_95" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_37";
- };
- "OBJ_96" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_38";
- };
- "OBJ_97" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_39";
- };
- "OBJ_98" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_40";
- };
- "OBJ_99" = {
- isa = "PBXBuildFile";
- fileRef = "OBJ_41";
- };
- "ScClient::Main" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_132";
- buildPhases = (
- "OBJ_135",
- "OBJ_137"
- );
- dependencies = (
- "OBJ_141",
- "OBJ_143",
- "OBJ_144"
- );
- name = "Main";
- productName = "Main";
- productReference = "ScClient::Main::Product";
- productType = "com.apple.product-type.tool";
- };
- "ScClient::Main::Product" = {
- isa = "PBXFileReference";
- path = "Main";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "ScClient::ScClient" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_146";
- buildPhases = (
- "OBJ_149",
- "OBJ_157"
- );
- dependencies = (
- "OBJ_160",
- "OBJ_161"
- );
- name = "ScClient";
- productName = "ScClient";
- productReference = "ScClient::ScClient::Product";
- productType = "com.apple.product-type.framework";
- };
- "ScClient::ScClient::Product" = {
- isa = "PBXFileReference";
- path = "ScClient.framework";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "ScClient::ScClientPackageTests::ProductTarget" = {
- isa = "PBXAggregateTarget";
- buildConfigurationList = "OBJ_169";
- buildPhases = (
- );
- dependencies = (
- "OBJ_172"
- );
- name = "ScClientPackageTests";
- productName = "ScClientPackageTests";
- };
- "ScClient::ScClientTests" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_174";
- buildPhases = (
- "OBJ_177",
- "OBJ_182"
- );
- dependencies = (
- "OBJ_186",
- "OBJ_187",
- "OBJ_188"
- );
- name = "ScClientTests";
- productName = "ScClientTests";
- productReference = "ScClient::ScClientTests::Product";
- productType = "com.apple.product-type.bundle.unit-test";
- };
- "ScClient::ScClientTests::Product" = {
- isa = "PBXFileReference";
- path = "ScClientTests.xctest";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "ScClient::SwiftPMPackageDescription" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_163";
- buildPhases = (
- "OBJ_166"
- );
- dependencies = (
- );
- name = "ScClientPackageDescription";
- productName = "ScClientPackageDescription";
- productType = "com.apple.product-type.framework";
- };
- "Starscream::Starscream" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_189";
- buildPhases = (
- "OBJ_192",
- "OBJ_197"
- );
- dependencies = (
- );
- name = "Starscream";
- productName = "Starscream";
- productReference = "Starscream::Starscream::Product";
- productType = "com.apple.product-type.framework";
- };
- "Starscream::Starscream::Product" = {
- isa = "PBXFileReference";
- path = "Starscream.framework";
- sourceTree = "BUILT_PRODUCTS_DIR";
- };
- "Starscream::SwiftPMPackageDescription" = {
- isa = "PBXNativeTarget";
- buildConfigurationList = "OBJ_199";
- buildPhases = (
- "OBJ_202"
- );
- dependencies = (
- );
- name = "StarscreamPackageDescription";
- productName = "StarscreamPackageDescription";
- productType = "com.apple.product-type.framework";
- };
- };
- rootObject = "OBJ_1";
-}
diff --git a/ScClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ScClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index fe1aa71..0000000
--- a/ScClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/ScClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ScClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d9810..0000000
--- a/ScClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/ScClient.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ScClient.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index a72dc2b..0000000
--- a/ScClient.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
-
-
-
\ No newline at end of file
diff --git a/ScClient.xcodeproj/xcshareddata/xcschemes/Main.xcscheme b/ScClient.xcodeproj/xcshareddata/xcschemes/Main.xcscheme
deleted file mode 100644
index c23e5d5..0000000
--- a/ScClient.xcodeproj/xcshareddata/xcschemes/Main.xcscheme
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ScClient.xcodeproj/xcshareddata/xcschemes/ScClient-Package.xcscheme b/ScClient.xcodeproj/xcshareddata/xcschemes/ScClient-Package.xcscheme
deleted file mode 100644
index 441778e..0000000
--- a/ScClient.xcodeproj/xcshareddata/xcschemes/ScClient-Package.xcscheme
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ScClient.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist b/ScClient.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist
deleted file mode 100644
index 36d6ae3..0000000
--- a/ScClient.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- SchemeUserState
-
- ScClient-Package.xcscheme
-
-
- SuppressBuildableAutocreation
-
-
-
diff --git a/Sources/ScClient/Models/Event.swift b/Sources/ScClient/Models/Event.swift
index bd32721..1c0c260 100644
--- a/Sources/ScClient/Models/Event.swift
+++ b/Sources/ScClient/Models/Event.swift
@@ -127,7 +127,7 @@ class Model {
}
public static func getUnsubscribeEventObject(channelName : String, messageId : Int) -> EmitEvent{
- return EmitEvent(event: "#unsubscribe", data: Channel(channel: channelName, data :nil) as AnyObject, cid: messageId)
+ return EmitEvent(event: "#unsubscribe", data: channelName as AnyObject, cid: messageId)
}
public static func getPublishEventObject(channelName : String, data : AnyObject?, messageId : Int) -> EmitEvent{
diff --git a/Tests/Integration/EmitReceiveTest.swift b/Tests/Integration/EmitReceiveTest.swift
new file mode 100644
index 0000000..097637b
--- /dev/null
+++ b/Tests/Integration/EmitReceiveTest.swift
@@ -0,0 +1,22 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 09/02/20.
+//
+
+import XCTest
+@testable import Quick
+@testable import Nimble
+
+class EmitTest: QuickSpec {
+ override func spec() {
+ it("is friendly") {
+ expect(true).to(beTruthy())
+ }
+
+ it("is smart") {
+ expect(true).to(beTruthy())
+ }
+ }
+}
diff --git a/Tests/Integration/PubSubTest.swift b/Tests/Integration/PubSubTest.swift
new file mode 100644
index 0000000..d7cd4ab
--- /dev/null
+++ b/Tests/Integration/PubSubTest.swift
@@ -0,0 +1,58 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 09/02/20.
+//
+
+import XCTest
+@testable import Quick
+@testable import Nimble
+@testable import ScClient
+
+class PublishTest: QuickSpec {
+
+ override func spec() {
+ describe("The PUB-SUB mechanism") {
+
+ beforeSuite {
+ print("Pub sub mech")
+ }
+ describe("The channel", closure: {
+ it("should be created successfully") {
+
+ }
+
+ print("The channel")
+
+ describe("The publisher") {
+
+ it("is able to publish message") {
+ expect(true).to(beTruthy())
+ }
+
+ it("is able to publish message and receive acknowledgement") {
+ expect(true).to(beTruthy())
+ }
+ print("The publisher")
+ }
+
+ describe("The subscriber") {
+
+ it("is able to receive message") {
+ expect(true).to(beTruthy())
+ }
+
+ it("is able to publish message and receive acknowledgement") {
+ expect(true).to(beTruthy())
+ }
+ print("The subscriber")
+ }
+ })
+
+ afterSuite {
+
+ }
+ }
+ }
+}
diff --git a/Tests/Integration/SetUp/ClientBuilder.swift b/Tests/Integration/SetUp/ClientBuilder.swift
new file mode 100644
index 0000000..5cc2229
--- /dev/null
+++ b/Tests/Integration/SetUp/ClientBuilder.swift
@@ -0,0 +1,16 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 09/02/20.
+//
+
+import XCTest
+@testable import ScClient
+
+class ScClientBuilder {
+
+ public static func build(clientConfig: ClientConfig) -> ScClient {
+ return ScClient(url: clientConfig.getUrl())
+ }
+}
diff --git a/Tests/Integration/SetUp/ClientConfig.swift b/Tests/Integration/SetUp/ClientConfig.swift
new file mode 100644
index 0000000..09398a4
--- /dev/null
+++ b/Tests/Integration/SetUp/ClientConfig.swift
@@ -0,0 +1,28 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 09/02/20.
+//
+
+import Foundation
+
+class ClientConfig {
+
+ var host : String!
+ var port : Int16!
+
+ internal init(host: String?, port: Int16?) {
+ self.host = host
+ self.port = port
+ }
+
+ init() {
+ self.host = "localhost"
+ self.port = 8000
+ }
+
+ func getUrl() -> String {
+ return "http://\(host!):\(port!)/socketcluster/"
+ }
+}
diff --git a/Tests/Integration/SetUp/ClientPool.swift b/Tests/Integration/SetUp/ClientPool.swift
new file mode 100644
index 0000000..43e881b
--- /dev/null
+++ b/Tests/Integration/SetUp/ClientPool.swift
@@ -0,0 +1,33 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 11/02/20.
+//
+
+import Foundation
+@testable import ScClient
+
+class ClientPool {
+
+ var clients : [String : ScClient]
+
+ init() {
+ clients = [String : ScClient]()
+ }
+
+ public static func create(name: String, clientConfig: ClientConfig) -> ClientPool {
+ let clientPool = ClientPool()
+ return clientPool.add(name: name, clientConfig: clientConfig)
+ }
+
+ public func add(name: String, clientConfig: ClientConfig) -> ClientPool {
+ let scclient = ScClientBuilder.build(clientConfig: clientConfig)
+ clients[name] = scclient
+ return self
+ }
+
+ public func build() -> [String : ScClient] {
+ return self.clients
+ }
+}
diff --git a/Tests/Integration/SetUp/ClientPoolExecutor.swift b/Tests/Integration/SetUp/ClientPoolExecutor.swift
new file mode 100644
index 0000000..2e54028
--- /dev/null
+++ b/Tests/Integration/SetUp/ClientPoolExecutor.swift
@@ -0,0 +1,56 @@
+//
+// File.swift
+//
+//
+// Created by Sachin Shinde on 11/02/20.
+//
+
+import Foundation
+import ScClient
+import RxSwift
+
+class ClientPoolExecutor {
+
+ var noOfClients = 1
+ var clientConfig: ClientConfig
+ var queue = DispatchQueue(label: "com.clientPoolExecutor", qos: .default)
+
+ init(noOfClients: Int32, clientConfig: ClientConfig, queue: DispatchQueue) {
+ self.noOfClients = Int(noOfClients)
+ self.clientConfig = clientConfig
+ self.queue = queue
+ }
+
+ init(clientConfig: ClientConfig, queue: DispatchQueue) {
+ self.clientConfig = clientConfig
+ self.queue = queue
+ }
+
+ init(clientConfig: ClientConfig) {
+ self.clientConfig = clientConfig
+ }
+
+ func ready() -> ReplaySubject {
+ let pool: ClientPool = ClientPool.create(name: "client 1", clientConfig: self.clientConfig)
+ for i in 2...self.noOfClients {
+ let clientName = "client \(i)"
+ pool.add(name: clientName, clientConfig: self.clientConfig)
+ }
+ let clientPublisher: ReplaySubject = ReplaySubject.create(bufferSize: self.noOfClients)
+ let clients : [String : ScClient] = pool.build()
+ for client in clients.values {
+ client.setAuthenticationListener(onSetAuthentication: nil, onAuthentication: {
+ (client :ScClient, isAuthenticated : Bool?) in
+ clientPublisher.onNext(client)
+ })
+ client.setBasicListener(onConnect: nil, onConnectError: { (client: ScClient, error: Error?) in
+ clientPublisher.onError(error!)
+ }, onDisconnect: nil)
+ queue.async {
+ client.setBackgroundQueue(queueName: "com.backgroundQueue")
+ client.connect()
+ }
+ }
+ return clientPublisher
+ }
+}
diff --git a/Tests/ScClientTests/ClientUtilsTest.swift b/Tests/Unit/ClientUtilsTest.swift
similarity index 100%
rename from Tests/ScClientTests/ClientUtilsTest.swift
rename to Tests/Unit/ClientUtilsTest.swift
diff --git a/Tests/ScClientTests/MiscellaneousTest.swift b/Tests/Unit/MiscellaneousTest.swift
similarity index 100%
rename from Tests/ScClientTests/MiscellaneousTest.swift
rename to Tests/Unit/MiscellaneousTest.swift
diff --git a/Tests/ScClientTests/ParserTest.swift b/Tests/Unit/ParserTest.swift
similarity index 99%
rename from Tests/ScClientTests/ParserTest.swift
rename to Tests/Unit/ParserTest.swift
index 1862ebb..6cd195a 100644
--- a/Tests/ScClientTests/ParserTest.swift
+++ b/Tests/Unit/ParserTest.swift
@@ -54,7 +54,6 @@ class ParserTest: XCTestCase {
XCTAssertEqual( "This is a sample error", result.error as! String)
}
-
}
}
diff --git a/Tests/ScClientTests/UtilsTest.swift b/Tests/Unit/UtilsTest.swift
similarity index 100%
rename from Tests/ScClientTests/UtilsTest.swift
rename to Tests/Unit/UtilsTest.swift