diff --git a/AppSyncRealTimeClient.podspec b/AppSyncRealTimeClient.podspec index 4f0d6ed0..15b086e1 100644 --- a/AppSyncRealTimeClient.podspec +++ b/AppSyncRealTimeClient.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.homepage = 'https://aws.amazon.com/amplify/' s.license = 'Apache License, Version 2.0' s.author = { 'Amazon Web Services' => 'amazonwebservices' } - s.platform = :ios, '9.0' + s.platform = :ios, '13.0' s.source = { :git => 'https://github.com/aws-amplify/aws-appsync-realtime-client-ios.git', :tag => s.version} s.swift_version = '5.1' diff --git a/AppSyncRealTimeClient.xcodeproj/project.pbxproj b/AppSyncRealTimeClient.xcodeproj/project.pbxproj index ae21c45f..6b947710 100644 --- a/AppSyncRealTimeClient.xcodeproj/project.pbxproj +++ b/AppSyncRealTimeClient.xcodeproj/project.pbxproj @@ -36,8 +36,6 @@ 217F39DE2406E98400F1A0B3 /* AppSyncSubscriptionConnection+ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39BF2406E98300F1A0B3 /* AppSyncSubscriptionConnection+ErrorHandler.swift */; }; 217F39DF2406E98400F1A0B3 /* SubscriptionItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C02406E98300F1A0B3 /* SubscriptionItem.swift */; }; 217F39E02406E98400F1A0B3 /* AppSyncWebsocketProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C22406E98400F1A0B3 /* AppSyncWebsocketProvider.swift */; }; - 217F39E12406E98400F1A0B3 /* StarscreamAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C42406E98400F1A0B3 /* StarscreamAdapter.swift */; }; - 217F39E22406E98400F1A0B3 /* StarscreamAdapter+Delegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C52406E98400F1A0B3 /* StarscreamAdapter+Delegate.swift */; }; 217F39E32406E98400F1A0B3 /* AppSyncLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C72406E98400F1A0B3 /* AppSyncLogger.swift */; }; 217F39E42406E98400F1A0B3 /* RealtimeGatewayURLInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C82406E98400F1A0B3 /* RealtimeGatewayURLInterceptor.swift */; }; 217F39E52406E98400F1A0B3 /* AppSyncJSONValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 217F39C92406E98400F1A0B3 /* AppSyncJSONValue.swift */; }; @@ -89,6 +87,7 @@ 5CFF7239283C19CF001D5471 /* TaskQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CFF7238283C19CF001D5471 /* TaskQueue.swift */; }; 5CFF723D283C1AF5001D5471 /* ConnectionProviderAsyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CFF723B283C1AF5001D5471 /* ConnectionProviderAsyncTests.swift */; }; 5CFF723E283C1AF5001D5471 /* RealtimeConnectionProviderAsyncTestBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CFF723C283C1AF5001D5471 /* RealtimeConnectionProviderAsyncTestBase.swift */; }; + 6092B6C02B58611C00FD5DC2 /* URLSessionWebsocketAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6092B6BF2B58611C00FD5DC2 /* URLSessionWebsocketAdapter.swift */; }; 978409B82739C7BE002362A7 /* AppSyncURLHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 978409B72739C7BE002362A7 /* AppSyncURLHelper.swift */; }; 978409BA2739C7E1002362A7 /* AppSyncURLHelperTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 978409B92739C7E1002362A7 /* AppSyncURLHelperTests.swift */; }; B4AEC68C29E8A14F00D693CD /* InterceptableConnection+Default.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4AEC68B29E8A14F00D693CD /* InterceptableConnection+Default.swift */; }; @@ -177,8 +176,6 @@ 217F39BF2406E98300F1A0B3 /* AppSyncSubscriptionConnection+ErrorHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AppSyncSubscriptionConnection+ErrorHandler.swift"; sourceTree = ""; }; 217F39C02406E98300F1A0B3 /* SubscriptionItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubscriptionItem.swift; sourceTree = ""; }; 217F39C22406E98400F1A0B3 /* AppSyncWebsocketProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppSyncWebsocketProvider.swift; sourceTree = ""; }; - 217F39C42406E98400F1A0B3 /* StarscreamAdapter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StarscreamAdapter.swift; sourceTree = ""; }; - 217F39C52406E98400F1A0B3 /* StarscreamAdapter+Delegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "StarscreamAdapter+Delegate.swift"; sourceTree = ""; }; 217F39C72406E98400F1A0B3 /* AppSyncLogger.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppSyncLogger.swift; sourceTree = ""; }; 217F39C82406E98400F1A0B3 /* RealtimeGatewayURLInterceptor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealtimeGatewayURLInterceptor.swift; sourceTree = ""; }; 217F39C92406E98400F1A0B3 /* AppSyncJSONValue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppSyncJSONValue.swift; sourceTree = ""; }; @@ -234,6 +231,7 @@ 5CFF7238283C19CF001D5471 /* TaskQueue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TaskQueue.swift; sourceTree = ""; }; 5CFF723B283C1AF5001D5471 /* ConnectionProviderAsyncTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConnectionProviderAsyncTests.swift; sourceTree = ""; }; 5CFF723C283C1AF5001D5471 /* RealtimeConnectionProviderAsyncTestBase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealtimeConnectionProviderAsyncTestBase.swift; sourceTree = ""; }; + 6092B6BF2B58611C00FD5DC2 /* URLSessionWebsocketAdapter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionWebsocketAdapter.swift; sourceTree = ""; }; 7CF486070B34EFD15B4DB8FC /* Pods_AppSyncRTCSample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AppSyncRTCSample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 7D4F451B830A5837CE5274A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig"; path = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig"; sourceTree = ""; }; 81AFCBED5A97E398A4BD9D06 /* Pods_AppSyncRealTimeClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AppSyncRealTimeClient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -432,21 +430,12 @@ 217F39C12406E98400F1A0B3 /* Websocket */ = { isa = PBXGroup; children = ( + 6092B6BE2B58610000FD5DC2 /* URLSession */, 217F39C22406E98400F1A0B3 /* AppSyncWebsocketProvider.swift */, - 217F39C32406E98400F1A0B3 /* Starscream */, ); path = Websocket; sourceTree = ""; }; - 217F39C32406E98400F1A0B3 /* Starscream */ = { - isa = PBXGroup; - children = ( - 217F39C42406E98400F1A0B3 /* StarscreamAdapter.swift */, - 217F39C52406E98400F1A0B3 /* StarscreamAdapter+Delegate.swift */, - ); - path = Starscream; - sourceTree = ""; - }; 217F39C62406E98400F1A0B3 /* Support */ = { isa = PBXGroup; children = ( @@ -624,6 +613,14 @@ path = ConnectionProviderAsync; sourceTree = ""; }; + 6092B6BE2B58610000FD5DC2 /* URLSession */ = { + isa = PBXGroup; + children = ( + 6092B6BF2B58611C00FD5DC2 /* URLSessionWebsocketAdapter.swift */, + ); + path = URLSession; + sourceTree = ""; + }; CC47BA7DC6033B1626BAD959 /* Frameworks */ = { isa = PBXGroup; children = ( @@ -728,7 +725,6 @@ FA91B21424D308B00017404D /* SwiftLint */, 217F39952405D9D500F1A0B3 /* Frameworks */, 217F39962405D9D500F1A0B3 /* Resources */, - 9CB3A44F02BD117B9687BF03 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -750,7 +746,6 @@ FA91B21624D308D90017404D /* SwiftLint */, 21D38B3B2409AFBD00EC2A8D /* Frameworks */, 21D38B3C2409AFBD00EC2A8D /* Resources */, - D3A1E54210CC83949895F543 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -791,7 +786,6 @@ FA91B21824D308FD0017404D /* SwiftLint */, FA91B1F824D3063E0017404D /* Frameworks */, FA91B1F924D3063E0017404D /* Resources */, - 7CEC6E6F72B76741B987A5FE /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -947,40 +941,6 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 7CEC6E6F72B76741B987A5FE /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 9CB3A44F02BD117B9687BF03 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; A19977CDA1FE7EB3815A5E31 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -1025,23 +985,6 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - D3A1E54210CC83949895F543 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; F78B4AC87B22D691D620684A /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -1231,6 +1174,7 @@ 217F39CD2406E98400F1A0B3 /* InterceptableConnection.swift in Sources */, 21D38B8E240A3C2300EC2A8D /* ConnectionProviderFactory.swift in Sources */, 217F39E02406E98400F1A0B3 /* AppSyncWebsocketProvider.swift in Sources */, + 6092B6C02B58611C00FD5DC2 /* URLSessionWebsocketAdapter.swift in Sources */, 219BFF4927A3B238000FC148 /* ConnectivityMonitor.swift in Sources */, FAB7E91224D2644E00DF1EA1 /* RealtimeConnectionProvider+StaleConnection.swift in Sources */, 217F39D32406E98400F1A0B3 /* RealtimeConnectionProvider.swift in Sources */, @@ -1241,7 +1185,6 @@ 217F39E52406E98400F1A0B3 /* AppSyncJSONValue.swift in Sources */, 217F39E42406E98400F1A0B3 /* RealtimeGatewayURLInterceptor.swift in Sources */, 2143D4B027BC49BE0066B2F7 /* AWSAppSyncRealTimeClient.swift in Sources */, - 217F39E22406E98400F1A0B3 /* StarscreamAdapter+Delegate.swift in Sources */, 217F39D52406E98400F1A0B3 /* RealtimeConnectionProviderResponse.swift in Sources */, 217F39D62406E98400F1A0B3 /* RealtimeConnectionProvider+MessageInterceptable.swift in Sources */, 5CFF7233283C1971001D5471 /* RealtimeConnectionProviderAsync.swift in Sources */, @@ -1266,7 +1209,6 @@ 21D38B6D240A262800EC2A8D /* AppSyncJSONHelper.swift in Sources */, 219BFF4B27A3B24F000FC148 /* ConnectivityPath.swift in Sources */, 217F39CE2406E98400F1A0B3 /* ConnectionProviderError.swift in Sources */, - 217F39E12406E98400F1A0B3 /* StarscreamAdapter.swift in Sources */, 217F39D72406E98400F1A0B3 /* RealtimeConnectionProvider+ConnectionInterceptable.swift in Sources */, 217F39DE2406E98400F1A0B3 /* AppSyncSubscriptionConnection+ErrorHandler.swift in Sources */, 5CFF7237283C1971001D5471 /* RealtimeConnectionProviderAsync+MessageInterceptableAsync.swift in Sources */, @@ -1515,7 +1457,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = AppSyncRealTimeClient/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -1542,7 +1484,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = AppSyncRealTimeClient/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/AppSyncRealTimeClient/Connection/AppSyncConnection/AppSyncSubscriptionConnection+ErrorHandler.swift b/AppSyncRealTimeClient/Connection/AppSyncConnection/AppSyncSubscriptionConnection+ErrorHandler.swift index 10e2cd4c..c3a5a21d 100644 --- a/AppSyncRealTimeClient/Connection/AppSyncConnection/AppSyncSubscriptionConnection+ErrorHandler.swift +++ b/AppSyncRealTimeClient/Connection/AppSyncConnection/AppSyncSubscriptionConnection+ErrorHandler.swift @@ -6,7 +6,6 @@ // import Foundation -import Starscream extension AppSyncSubscriptionConnection { func handleError(error: Error) { @@ -72,8 +71,6 @@ extension AppSyncSubscriptionConnection { switch error { case let typedError as ConnectionProviderError: logExtendedErrorInfo(for: typedError) - case let typedError as WSError: - logExtendedErrorInfo(for: typedError) case let typedError as NSError: logExtendedErrorInfo(for: typedError) default: @@ -115,10 +112,6 @@ extension AppSyncSubscriptionConnection { } } - private static func logExtendedErrorInfo(for error: WSError) { - AppSyncLogger.error(error) - } - private static func logExtendedErrorInfo(for error: NSError) { AppSyncLogger.error( """ @@ -130,13 +123,3 @@ extension AppSyncSubscriptionConnection { } } - -extension WSError: CustomStringConvertible { - public var description: String { - """ - WSError:\(message); \ - code:\(code); \ - type:\(type) - """ - } -} diff --git a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnection/RealtimeConnectionProvider+Websocket.swift b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnection/RealtimeConnectionProvider+Websocket.swift index 384ae37f..4645eecd 100644 --- a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnection/RealtimeConnectionProvider+Websocket.swift +++ b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnection/RealtimeConnectionProvider+Websocket.swift @@ -8,6 +8,10 @@ import Foundation extension RealtimeConnectionProvider: AppSyncWebsocketDelegate { + public func websocketDidReceiveError(provider: AppSyncWebsocketProvider, error: Error?) { + AppSyncLogger.debug("[RealtimeConnectionProvider] WebsocketDidReceiveError, error: \(String(describing: error))") + } + public func websocketDidConnect(provider: AppSyncWebsocketProvider) { // Call the ack to finish the connection handshake @@ -23,11 +27,12 @@ extension RealtimeConnectionProvider: AppSyncWebsocketDelegate { return } self.status = .notConnected - guard error != nil else { + + if error != nil { + self.updateCallback(event: .error(ConnectionProviderError.connection)) + } else { self.updateCallback(event: .connection(self.status)) - return } - self.updateCallback(event: .error(ConnectionProviderError.connection)) } } diff --git a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+StaleConnection.swift b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+StaleConnection.swift index bf654a19..8d91fa0a 100644 --- a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+StaleConnection.swift +++ b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+StaleConnection.swift @@ -69,7 +69,7 @@ extension RealtimeConnectionProviderAsync { AppSyncLogger.error("[RealtimeConnectionProvider] Realtime connection is stale, disconnecting.") self.status = .notConnected self.isStaleConnection = false - self.websocket.disconnect() + self.webSocket.disconnect() self.updateCallback(event: .error(ConnectionProviderError.connection)) } } diff --git a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+Websocket.swift b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+Websocket.swift index 968d0764..2c24fc71 100644 --- a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+Websocket.swift +++ b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync+Websocket.swift @@ -5,12 +5,12 @@ // SPDX-License-Identifier: Apache-2.0 // -#if swift(>=5.5.2) - import Foundation -@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) extension RealtimeConnectionProviderAsync: AppSyncWebsocketDelegate { + public func websocketDidReceiveError(provider: AppSyncWebsocketProvider, error: Error?) { + AppSyncLogger.debug("[RealtimeConnectionProvider] WebsocketDidReceiveError, error: \(String(describing: error))") + } public func websocketDidConnect(provider: AppSyncWebsocketProvider) { // Call the ack to finish the connection handshake @@ -127,4 +127,3 @@ extension RealtimeConnectionProviderAsync: AppSyncWebsocketDelegate { } } -#endif diff --git a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync.swift b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync.swift index 9d6a0e60..31272df1 100644 --- a/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync.swift +++ b/AppSyncRealTimeClient/ConnectionProvider/AppsyncRealtimeConnectionAsync/RealtimeConnectionProviderAsync.swift @@ -21,7 +21,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { let urlRequest: URLRequest var listeners: [String: ConnectionProviderCallback] - let websocket: AppSyncWebsocketProvider + let webSocket: AppSyncWebsocketProvider var status: ConnectionState @@ -64,7 +64,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { init( urlRequest: URLRequest, - websocket: AppSyncWebsocketProvider, + webSocket: AppSyncWebsocketProvider, serialCallbackQueue: DispatchQueue = DispatchQueue( label: "com.amazonaws.AppSyncRealTimeConnectionProvider.callbackQueue" @@ -72,7 +72,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { connectivityMonitor: ConnectivityMonitor = ConnectivityMonitor() ) { self.urlRequest = urlRequest - self.websocket = websocket + self.webSocket = webSocket self.listeners = [:] self.status = .notConnected self.staleConnectionTimer = CountdownTimer() @@ -87,12 +87,12 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { #if !os(watchOS) connectivityMonitor.start(onUpdates: handleConnectivityUpdates(connectivity:)) #endif - + subscribeToLimitExceededThrottle() } - public convenience init(for urlRequest: URLRequest, websocket: AppSyncWebsocketProvider) { - self.init(urlRequest: urlRequest, websocket: websocket) + public convenience init(for urlRequest: URLRequest, webSocket: AppSyncWebsocketProvider) { + self.init(urlRequest: urlRequest, webSocket: webSocket) } // MARK: - ConnectionProvider methods @@ -119,7 +119,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { let signedRequest = await self.interceptConnection(request, for: url) var urlRequest = self.urlRequest urlRequest.url = signedRequest.url - self.websocket.connect( + self.webSocket.connect( urlRequest: urlRequest, protocols: ["graphql-ws"], delegate: self @@ -149,7 +149,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { self.updateCallback(event: .error(jsonError)) return } - self.websocket.write(message: jsonString) + self.webSocket.write(message: jsonString) } catch { AppSyncLogger.error(error) switch signedMessage.messageType { @@ -164,7 +164,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { public func disconnect() { taskQueue.async { - self.websocket.disconnect() + self.webSocket.disconnect() self.invalidateStaleConnectionTimer() } } @@ -188,7 +188,7 @@ public class RealtimeConnectionProviderAsync: ConnectionProvider { "[RealtimeConnectionProvider] all subscriptions removed, disconnecting websocket connection." ) self.status = .notConnected - self.websocket.disconnect() + self.webSocket.disconnect() self.invalidateStaleConnectionTimer() } } diff --git a/AppSyncRealTimeClient/ConnectionProvider/ConnectionProviderFactory.swift b/AppSyncRealTimeClient/ConnectionProvider/ConnectionProviderFactory.swift index 62996e82..4e5a9714 100644 --- a/AppSyncRealTimeClient/ConnectionProvider/ConnectionProviderFactory.swift +++ b/AppSyncRealTimeClient/ConnectionProvider/ConnectionProviderFactory.swift @@ -19,8 +19,7 @@ public enum ConnectionProviderFactory { switch connectionType { case .appSyncRealtime: - let websocketProvider = StarscreamAdapter() - provider = RealtimeConnectionProvider(for: urlRequest, websocket: websocketProvider) + provider = RealtimeConnectionProvider(for: urlRequest, websocket: URLSessionWebSocketAdapter()) } if let messageInterceptable = provider as? MessageInterceptable { @@ -34,8 +33,6 @@ public enum ConnectionProviderFactory { return provider } - #if swift(>=5.5.2) - @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) public static func createConnectionProviderAsync( for urlRequest: URLRequest, authInterceptor: AuthInterceptorAsync, @@ -45,8 +42,8 @@ public enum ConnectionProviderFactory { switch connectionType { case .appSyncRealtime: - let websocketProvider = StarscreamAdapter() - provider = RealtimeConnectionProviderAsync(for: urlRequest, websocket: websocketProvider) + let websocketProvider = URLSessionWebSocketAdapter() + provider = RealtimeConnectionProviderAsync(for: urlRequest, webSocket: websocketProvider) } if let messageInterceptable = provider as? MessageInterceptableAsync { @@ -59,5 +56,4 @@ public enum ConnectionProviderFactory { return provider } - #endif } diff --git a/AppSyncRealTimeClient/Support/AppSyncLogger.swift b/AppSyncRealTimeClient/Support/AppSyncLogger.swift index 241e25ac..ba804f6d 100644 --- a/AppSyncRealTimeClient/Support/AppSyncLogger.swift +++ b/AppSyncRealTimeClient/Support/AppSyncLogger.swift @@ -15,12 +15,12 @@ struct AppSyncLogger { } // iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, * - static func error(_ log: String) { + static func error(_ log: @autoclosure () -> String) { // Always logged, no conditional check needed if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *) { - os_log("%@", type: .error, log) + os_log("%@", type: .error, log()) } else { - NSLog("%@", log) + NSLog("%@", log()) } } @@ -32,51 +32,51 @@ struct AppSyncLogger { } } - static func warn(_ log: String) { + static func warn(_ log: @autoclosure () -> String) { guard logLevel.rawValue >= AppSyncRealTimeClient.LogLevel.warn.rawValue else { return } if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *) { - os_log("%@", type: .info, log) + os_log("%@", type: .info, log()) } else { - NSLog("%@", log) + NSLog("%@", log()) } } - static func info(_ log: String) { + static func info(_ log: @autoclosure () -> String) { guard logLevel.rawValue >= AppSyncRealTimeClient.LogLevel.info.rawValue else { return } if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *) { - os_log("%@", type: .info, log) + os_log("%@", type: .info, log()) } else { - NSLog("%@", log) + NSLog("%@", log()) } } - static func debug(_ log: String) { + static func debug(_ log: @autoclosure () -> String) { guard logLevel.rawValue >= AppSyncRealTimeClient.LogLevel.debug.rawValue else { return } if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *) { - os_log("%@", type: .debug, log) + os_log("%@", type: .debug, log()) } else { - NSLog("%@", log) + NSLog("%@", log()) } } - static func verbose(_ log: String) { + static func verbose(_ log: @autoclosure () -> String) { guard logLevel.rawValue >= AppSyncRealTimeClient.LogLevel.verbose.rawValue else { return } if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *) { - os_log("%@", type: .debug, log) + os_log("%@", type: .debug, log()) } else { - NSLog("%@", log) + NSLog("%@", log()) } } } diff --git a/AppSyncRealTimeClient/Websocket/AppSyncWebsocketProvider.swift b/AppSyncRealTimeClient/Websocket/AppSyncWebsocketProvider.swift index 61efe3f6..a23d5191 100644 --- a/AppSyncRealTimeClient/Websocket/AppSyncWebsocketProvider.swift +++ b/AppSyncRealTimeClient/Websocket/AppSyncWebsocketProvider.swift @@ -35,4 +35,6 @@ public protocol AppSyncWebsocketDelegate: AnyObject { func websocketDidDisconnect(provider: AppSyncWebsocketProvider, error: Error?) func websocketDidReceiveData(provider: AppSyncWebsocketProvider, data: Data) + + func websocketDidReceiveError(provider: AppSyncWebsocketProvider, error: Error?) } diff --git a/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter+Delegate.swift b/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter+Delegate.swift deleted file mode 100644 index 526bef5b..00000000 --- a/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter+Delegate.swift +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import Foundation -import Starscream - -/// Extension to handle delegate callback from Starscream -extension StarscreamAdapter: Starscream.WebSocketDelegate { - public func didReceive(event: WebSocketEvent, client: WebSocket) { - switch event { - case .connected: - websocketDidConnect(socket: client) - case .disconnected(let reason, let code): - AppSyncLogger.verbose("[StarscreamAdapter] disconnected: reason=\(reason); code=\(code)") - websocketDidDisconnect(socket: client, error: nil) - case .text(let string): - websocketDidReceiveMessage(socket: client, text: string) - case .binary(let data): - websocketDidReceiveData(socket: client, data: data) - case .ping: - AppSyncLogger.verbose("[StarscreamAdapter] ping") - case .pong: - AppSyncLogger.verbose("[StarscreamAdapter] pong") - case .viabilityChanged(let viability): - AppSyncLogger.verbose("[StarscreamAdapter] viabilityChanged: \(viability)") - case .reconnectSuggested(let suggestion): - AppSyncLogger.verbose("[StarscreamAdapter] reconnectSuggested: \(suggestion)") - case .cancelled: - websocketDidDisconnect(socket: client, error: nil) - case .error(let error): - websocketDidDisconnect(socket: client, error: error) - } - } - - private func websocketDidConnect(socket: WebSocketClient) { - AppSyncLogger.verbose("[StarscreamAdapter] websocketDidConnect: websocket has been connected.") - serialQueue.async { - self._isConnected = true - self.delegate?.websocketDidConnect(provider: self) - } - } - - private func websocketDidDisconnect(socket: WebSocketClient, error: Error?) { - AppSyncLogger.verbose( - "[StarscreamAdapter] websocketDidDisconnect: \(error?.localizedDescription ?? "No error")" - ) - serialQueue.async { - self._isConnected = false - self.delegate?.websocketDidDisconnect(provider: self, error: error) - } - } - - private func websocketDidReceiveMessage(socket: WebSocketClient, text: String) { - AppSyncLogger.verbose("[StarscreamAdapter] websocketDidReceiveMessage: - \(text)") - let data = text.data(using: .utf8) ?? Data() - delegate?.websocketDidReceiveData(provider: self, data: data) - } - - private func websocketDidReceiveData(socket: WebSocketClient, data: Data) { - AppSyncLogger.verbose("[StarscreamAdapter] WebsocketDidReceiveData - \(data)") - delegate?.websocketDidReceiveData(provider: self, data: data) - } -} diff --git a/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter.swift b/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter.swift deleted file mode 100644 index 59fc9482..00000000 --- a/AppSyncRealTimeClient/Websocket/Starscream/StarscreamAdapter.swift +++ /dev/null @@ -1,100 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import Foundation -import Starscream - -public class StarscreamAdapter: AppSyncWebsocketProvider { - let serialQueue: DispatchQueue - private let callbackQueue: DispatchQueue - - var socket: WebSocket? - weak var delegate: AppSyncWebsocketDelegate? - - // swiftlint:disable:next identifier_name - var _isConnected: Bool - public var isConnected: Bool { - serialQueue.sync { - _isConnected - } - } - - let watchOSConnectivityTimer: CountdownTimer - - public init() { - let serialQueue = DispatchQueue(label: "com.amazonaws.StarscreamAdapter.serialQueue") - let callbackQueue = DispatchQueue( - label: "com.amazonaws.StarscreamAdapter.callBack", - target: serialQueue - ) - self._isConnected = false - self.serialQueue = serialQueue - self.callbackQueue = callbackQueue - self.watchOSConnectivityTimer = CountdownTimer() - } - - public func connect(urlRequest: URLRequest, protocols: [String], delegate: AppSyncWebsocketDelegate?) { - serialQueue.async { - AppSyncLogger.verbose("[StarscreamAdapter] connect. Connecting to url") - var urlRequest = urlRequest - - urlRequest.setValue("no-store", forHTTPHeaderField: "Cache-Control") - - let protocolHeaderValue = protocols.joined(separator: ", ") - urlRequest.setValue(protocolHeaderValue, forHTTPHeaderField: "Sec-WebSocket-Protocol") - - self.socket = WebSocket(request: urlRequest) - self.delegate = delegate - self.socket?.delegate = self - self.socket?.callbackQueue = self.callbackQueue - self.socket?.connect() - self.startWatchOSConnectivityTimer() - } - } - - public func disconnect() { - serialQueue.async { - AppSyncLogger.verbose("[StarscreamAdapter] socket.disconnect") - self.socket?.disconnect() - self.socket = nil - } - } - - public func write(message: String) { - serialQueue.async { - AppSyncLogger.verbose("[StarscreamAdapter] socket.write - \(message)") - self.socket?.write(string: message) - } - } - - private func startWatchOSConnectivityTimer() { - #if os(watchOS) - let watchOSConnectTimeoutInSeconds = TimeInterval(5) - AppSyncLogger.debug( - "[StarscreamAdapter] Starting connectivity timer for watchOS for \(watchOSConnectTimeoutInSeconds)s." - ) - self.watchOSConnectivityTimer.start(interval: watchOSConnectTimeoutInSeconds) { - AppSyncLogger.debug( - "[StarscreamAdapter] watchOS connectivity timer is up." - ) - self.serialQueue.async { - if !self._isConnected { - AppSyncLogger.debug( - "[StarscreamAdapter] Subscriptions not connected after \(watchOSConnectTimeoutInSeconds)s. Manually disconnecting" - ) - let error = ConnectionProviderError.connection - self.delegate?.websocketDidDisconnect(provider: self, error: error) - } else { - AppSyncLogger.debug( - "[StarscreamAdapter] Subscriptions are connected within \(watchOSConnectTimeoutInSeconds)s." - ) - } - } - } - #endif - } -} diff --git a/AppSyncRealTimeClient/Websocket/URLSession/URLSessionWebSocketAdapter.swift b/AppSyncRealTimeClient/Websocket/URLSession/URLSessionWebSocketAdapter.swift new file mode 100644 index 00000000..531a67c5 --- /dev/null +++ b/AppSyncRealTimeClient/Websocket/URLSession/URLSessionWebSocketAdapter.swift @@ -0,0 +1,180 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import Foundation +import Combine + +public class URLSessionWebSocketAdapter: NSObject { + private weak var delegate: AppSyncWebsocketDelegate? + public private(set) var isConnected: Bool + + private var webSocket: URLSessionWebSocketTask? + private var receiveMessageTask: AnyCancellable? + + #if os(watchOS) + private var connectivityTimer: AnyCancellable? + #endif + + override init() { + self.isConnected = false + } + + deinit { +#if os(watchOS) + connectivityTimer?.cancel() +#endif + receiveMessageTask?.cancel() + disconnect() + } +} + +extension URLSessionWebSocketAdapter: AppSyncWebsocketProvider { + public func disconnect() { + AppSyncLogger.verbose("[URLSessionWebSocketAdapter] Disconnecting websocket") + webSocket?.cancel(with: .goingAway, reason: nil) + } + + public func write(message: String) { + guard isConnected else { + AppSyncLogger.verbose( + "[URLSessionWebSocketAdapter] Websocket is already disconnected, cannot send message: \(message)" + ) + return + } + + webSocket?.send(.string(message), completionHandler: { error in + if let error = error { + AppSyncLogger.warn( + "[URLSessionWebSocketAdapter] Failed to send websocket message with error \(error)" + ) + } + }) + } + + public func connect(urlRequest: URLRequest, protocols: [String], delegate: AppSyncWebsocketDelegate?) { + self.delegate = delegate + + let session = URLSession(configuration: URLSessionConfiguration.default, delegate: self, delegateQueue: nil) + webSocket = session.webSocketTask( + with: urlRequestWithWebsocketProtocols(urlRequest: urlRequest, protocols: protocols) + ) + AppSyncLogger.verbose("[URLSessionWebSocketAdapter] Connecting...") + webSocket?.resume() + } + + private func urlRequestWithWebsocketProtocols(urlRequest: URLRequest, protocols: [String]) -> URLRequest { + var request = urlRequest + request.addValue(protocols.joined(separator: ","), forHTTPHeaderField: "Sec-WebSocket-Protocol") + return request + } + + #if os(watchOS) + private func startConnectivityTimer() -> AnyCancellable { + Timer.publish(every: 5, on: .current, in: .default) + .autoconnect() + .receive(on: DispatchQueue.global()) + .sink { [weak self] _ in + guard let self = self else { + return + } + if !self.isConnected { + self.delegate?.websocketDidDisconnect( + provider: self, + error: ConnectionProviderError.connection + ) + } + } + } + #endif + + private func startReceiveMessage() -> AnyPublisher { + return receiveMessage().flatMap { [weak self] in + self?.startReceiveMessage() ?? Just(()).eraseToAnyPublisher() + }.eraseToAnyPublisher() + } + + private func receiveMessage() -> Future { + Future() { [weak self] promise in + guard let self = self else { return } + + self.webSocket?.receive(completionHandler: { result in + switch result { + case .success(.string(let string)): + AppSyncLogger.verbose("[URLSessionWebSocketAdapter] Received message: \(string)") + if let data = string.data(using: .utf8) { + self.delegate?.websocketDidReceiveData(provider: self, data: data) + } + case .success(.data(let data)): + AppSyncLogger.verbose( + "[URLSessionWebSocketAdapter] Received message: \(String(describing: String(data: data, encoding: .utf8)))" + ) + self.delegate?.websocketDidReceiveData(provider: self, data: data) + + case .failure(let error): + AppSyncLogger.warn("[URLSessionWebSocketAdapter] Received message, error \(error)") + self.delegate?.websocketDidReceiveError(provider: self, error: error) + + @unknown default: + break + } + promise(.success(())) + }) + } + } + +} + +extension URLSessionWebSocketAdapter: URLSessionDataDelegate { + public func urlSession( + _ session: URLSession, + task: URLSessionTask, + didCompleteWithError error: Error? + ) { + if let error = error { + AppSyncLogger.warn("[URLSessionWebSocketAdapter] URLSession complete with error \(error)") + delegate?.websocketDidReceiveError(provider: self, error: error) + } + } +} + +extension URLSessionWebSocketAdapter: URLSessionWebSocketDelegate { + public func urlSession( + _ session: URLSession, + webSocketTask: URLSessionWebSocketTask, + didOpenWithProtocol protocol: String? + ) { + AppSyncLogger.verbose("[URLSessionWebSocketAdapter] Websocket connected") + isConnected = true + #if os(watchOS) + if connectivityTimer != nil { + connectivityTimer?.cancel() + } + connectivityTimer = startConnectivityTimer() + #endif + receiveMessageTask = startReceiveMessage().sink { } + delegate?.websocketDidConnect(provider: self) + } + + public func urlSession( + _ session: URLSession, + webSocketTask: URLSessionWebSocketTask, + didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, + reason: Data? + ) { + isConnected = false + receiveMessageTask?.cancel() + + let message = reason.flatMap { String(data: $0, encoding: .utf8) } + AppSyncLogger.verbose( + "[URLSessionWebSocketAdapter] Websocket disconnected, reason \(String(describing: message)), code: \(closeCode)" + ) + delegate?.websocketDidDisconnect( + provider: self, + error: ConnectionProviderError.unknown(message: message, causedBy: nil, payload: nil) + ) + } +} diff --git a/AppSyncRealTimeClientIntegrationTests/StarscreamAdapterTests.swift b/AppSyncRealTimeClientIntegrationTests/StarscreamAdapterTests.swift deleted file mode 100644 index 8be43c6f..00000000 --- a/AppSyncRealTimeClientIntegrationTests/StarscreamAdapterTests.swift +++ /dev/null @@ -1,34 +0,0 @@ -// -// Copyright Amazon.com Inc. or its affiliates. -// All Rights Reserved. -// -// SPDX-License-Identifier: Apache-2.0 -// - -import XCTest -@testable import AppSyncRealTimeClient -import Starscream - -class StarscreamAdapterTests: AppSyncRealTimeClientTestBase { - - func testConnectDisconnect() throws { - let starscreamAdapter = StarscreamAdapter() - let apiKeyAuthInterceptor = APIKeyAuthInterceptor(apiKey) - let request = AppSyncConnectionRequest(url: urlRequest.url!) - let signedRequest = apiKeyAuthInterceptor.interceptConnection(request, for: urlRequest.url!) - urlRequest.url = signedRequest.url - let expectedPerforms = expectation(description: "total performs") - expectedPerforms.expectedFulfillmentCount = 1_000 - DispatchQueue.concurrentPerform(iterations: 1_000) { _ in - starscreamAdapter.connect( - urlRequest: urlRequest, - protocols: ["graphql-ws"], - delegate: nil - ) - starscreamAdapter.disconnect() - expectedPerforms.fulfill() - } - wait(for: [expectedPerforms], timeout: 1) - XCTAssertFalse(starscreamAdapter.isConnected) - } -} diff --git a/AppSyncRealTimeClientIntegrationTests/WebSocket/URLSessionWebSocketAdapterTests.swift b/AppSyncRealTimeClientIntegrationTests/WebSocket/URLSessionWebSocketAdapterTests.swift new file mode 100644 index 00000000..4854e98d --- /dev/null +++ b/AppSyncRealTimeClientIntegrationTests/WebSocket/URLSessionWebSocketAdapterTests.swift @@ -0,0 +1,81 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + + +import XCTest +@testable import AppSyncRealTimeClient + +class URLSessionWebSocketAdapterTests: AppSyncRealTimeClientTestBase { + + func testConnectDisconnect() throws { + let adapter = URLSessionWebSocketAdapter() + let apiKeyAuthInterceptor = APIKeyAuthInterceptor(apiKey) + let request = AppSyncConnectionRequest(url: urlRequest.url!) + let signedRequest = apiKeyAuthInterceptor.interceptConnection(request, for: urlRequest.url!) + urlRequest.url = signedRequest.url + let expectedPerforms = expectation(description: "total performs") + expectedPerforms.expectedFulfillmentCount = 1_000 + DispatchQueue.concurrentPerform(iterations: 1_000) { _ in + adapter.connect( + urlRequest: urlRequest, + protocols: ["graphql-ws"], + delegate: nil + ) + adapter.disconnect() + expectedPerforms.fulfill() + } + wait(for: [expectedPerforms], timeout: 1) + XCTAssertFalse(adapter.isConnected) + } + + func testDelegateInvocations() async { + let adapter = URLSessionWebSocketAdapter() + let apiKeyAuthInterceptor = APIKeyAuthInterceptor(apiKey) + let request = AppSyncConnectionRequest(url: urlRequest.url!) + let signedRequest = apiKeyAuthInterceptor.interceptConnection(request, for: urlRequest.url!) + urlRequest.url = signedRequest.url + let connectedException = expectation(description: "Connected") + let disconnectedException = expectation(description: "Disconnected") + + adapter.connect( + urlRequest: urlRequest, + protocols: ["graphql-ws"], + delegate: WebSocketDelegate( + connectedException: connectedException, + disconnectedException: disconnectedException + ) + ) + + await fulfillment(of: [connectedException], timeout: 3) + + adapter.disconnect() + await fulfillment(of: [disconnectedException], timeout: 3) + } + +} + + +fileprivate class WebSocketDelegate: NSObject { + + private let connectedExpectation: XCTestExpectation + + private let disconnectedExpectation: XCTestExpectation + + +} + +fileprivate extension WebSocketDelegate: AppSyncWebsocketDelegate { + + func websocketDidConnect(provider: AppSyncWebsocketProvider) { + connectedExpectation.fulfill() + } + + func websocketDidDisconnect(provider: AppSyncWebsocketProvider, error: Error?) { + XCTAssertNotNil(error) + disconnectedExpectation.fulfill() + } +} diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index a9c6ce6d..00000000 --- a/Package.resolved +++ /dev/null @@ -1,16 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream", - "state": { - "branch": null, - "revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21", - "version": "4.0.4" - } - } - ] - }, - "version": 1 -} diff --git a/Package.swift b/Package.swift index 430891fd..9466793b 100644 --- a/Package.swift +++ b/Package.swift @@ -1,22 +1,27 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription +let platforms: [SupportedPlatform] = [ + .iOS(.v13), + .macOS(.v10_15), + .tvOS(.v13), + .watchOS(.v9) +] let package = Package( name: "AppSyncRealTimeClient", + platforms: platforms, products: [ .library( name: "AppSyncRealTimeClient", targets: ["AppSyncRealTimeClient"]), ], dependencies: [ - .package(url: "https://github.com/daltoniam/Starscream", .exact("4.0.4")) ], targets: [ .target( name: "AppSyncRealTimeClient", - dependencies: ["Starscream"], path: "AppSyncRealTimeClient", exclude: ["Info.plist"] ), diff --git a/Podfile b/Podfile index a15b06e8..00c46b17 100644 --- a/Podfile +++ b/Podfile @@ -12,9 +12,6 @@ target 'AppSyncRealTimeClient' do # Pods for AppSyncRealTimeClient - # If you update this dependency version, be sure to update the Cartfile also - pod "Starscream", "4.0.4" - include_build_tools! target 'AppSyncRealTimeClientTests' do diff --git a/Podfile.lock b/Podfile.lock index 4476bf8b..7cf18c1d 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,24 +1,20 @@ PODS: - - Starscream (4.0.4) - SwiftFormat/CLI (0.49.18) - SwiftLint (0.51.0) DEPENDENCIES: - - Starscream (~> 4.0.4) - SwiftFormat/CLI (~> 0.49.0) - SwiftLint SPEC REPOS: trunk: - - Starscream - SwiftFormat - SwiftLint SPEC CHECKSUMS: - Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9 SwiftFormat: 2402d29b26746f169cce5454d5af88314cbb2e35 SwiftLint: 1b7561918a19e23bfed960e40759086e70f4dba5 -PODFILE CHECKSUM: e76cd9f1f864d5985d232c1d82fa76bd06a050bf +PODFILE CHECKSUM: fc925762b8490c614270f2b73526fa82700a1eb8 -COCOAPODS: 1.12.0 +COCOAPODS: 1.14.3 diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 4476bf8b..7cf18c1d 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,24 +1,20 @@ PODS: - - Starscream (4.0.4) - SwiftFormat/CLI (0.49.18) - SwiftLint (0.51.0) DEPENDENCIES: - - Starscream (~> 4.0.4) - SwiftFormat/CLI (~> 0.49.0) - SwiftLint SPEC REPOS: trunk: - - Starscream - SwiftFormat - SwiftLint SPEC CHECKSUMS: - Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9 SwiftFormat: 2402d29b26746f169cce5454d5af88314cbb2e35 SwiftLint: 1b7561918a19e23bfed960e40759086e70f4dba5 -PODFILE CHECKSUM: e76cd9f1f864d5985d232c1d82fa76bd06a050bf +PODFILE CHECKSUM: fc925762b8490c614270f2b73526fa82700a1eb8 -COCOAPODS: 1.12.0 +COCOAPODS: 1.14.3 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index dd913439..d579bf9d 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -28,232 +28,142 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 00995668448B0482C6C3725DC3FB1E2D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - 00C9C2E54995B3BEA1C999016833A58B /* Starscream-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8FBFA4F497BF24BAB2C3C2C46831CA0A /* Starscream-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 02E351D61AED26EF2D1A51B014DEFA65 /* Pods-AppSyncRTCSample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A26BD722B33E83A41BD4A44DD2BDC4E3 /* Pods-AppSyncRTCSample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 046AC7AA224C78A31C0A8FACB11D2D28 /* StringHTTPHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D2BCC3D81009251CF149E4E6A0C224E /* StringHTTPHandler.swift */; }; - 2052554082DD68FC16C6F176C04D413C /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9783F8F2B1F7890527BA035E5948BCE2 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3156934B75D62B205598A5B9C8E2FF87 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 632521D0E4C043F74AA5493B36ADF45A /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */; }; - 33C71989B6C635864EC5E4862AFAAE8A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - 3A655D6817E99F062266BB601B0EEEDF /* Starscream-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AF18D51FCC99A1CE4E23F9DAA637E43 /* Starscream-dummy.m */; }; - 3F3E9C6FF4BCB6F4FF18D9121CC3E42F /* WebSocketServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F5A03BCFF1BC81AACCA8C32725AD401 /* WebSocketServer.swift */; }; - 489EF4A7D4992C47CF590AEF9AA418FC /* FoundationTransport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C6D0498CE9448A64BAE886552FCCD6B /* FoundationTransport.swift */; }; - 49C23C2D785C0C110AA02FC70CBA65DB /* Pods-AppSyncRealTimeClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FA724FB4539BE70535E32D6B51B233CF /* Pods-AppSyncRealTimeClient-dummy.m */; }; - 4A3B1BE129FDA231AC217E1C6DB2B8C8 /* Transport.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2CAEC3C9FC0A8AD7BE1DAB6A521D691 /* Transport.swift */; }; - 4AB6FCF35B998F60ED9EB100542EEA31 /* FoundationHTTPHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E6E2E9C7E9DC8FAA7C03E83452794FB /* FoundationHTTPHandler.swift */; }; - 5006DD4B60A05AF56EA0706A680BABF6 /* FoundationHTTPServerHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 180B214D60505BCE759982E83FF77C8E /* FoundationHTTPServerHandler.swift */; }; - 5281197FE8CC6E6954315F11B8F553D0 /* FoundationSecurity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03F7A3276C90DB9432B2403BBB9D2A53 /* FoundationSecurity.swift */; }; - 5DA1BA241D8699925A6865F97C4A6891 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 926BDB89A966BBC606CD53BA1871E433 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */; }; - 631654C419F62FE0270E1DF79CCF6F8B /* Data+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAFA07304E0D95CA475D728B2BA434B6 /* Data+Extensions.swift */; }; - 68C5500DF1895E810A1B363D3BCB1110 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - 69A591F2BDE4941B391C102F4C26B115 /* Security.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0EF5DA51A97FC4F9DAAED71CDF57C28F /* Security.swift */; }; - 6AA6E85C39C4DDA0775DEE288B7D1B75 /* Pods-HostApp-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AAA4F28117B314B9CF3F58B0C87EBE67 /* Pods-HostApp-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 6C0DACBE00A34619DEDB9A65CB959BA5 /* TCPTransport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 430F6AC58F7A56E9666194E84BA8C870 /* TCPTransport.swift */; }; - 7DDEA2F73F2A02D88D5164B46BA2C7E8 /* HTTPHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4928D4555D3EC334CA09A3D4B1BCBF1 /* HTTPHandler.swift */; }; - 915ABE9F9D29D5D19F91A3BA1F272308 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - A7F27212C7EB02BEB996BB85C98BE617 /* Pods-AppSyncRTCSample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3373D970568188F6E29D4F8539662D39 /* Pods-AppSyncRTCSample-dummy.m */; }; - A8EAF14B207AE4C294CA58685ABB6732 /* Pods-HostApp-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F2B4F08C3A443D450276C13458D68AB6 /* Pods-HostApp-dummy.m */; }; - B44349C69B2C0AF407B678B20DC9CB80 /* WebSocket.swift in Sources */ = {isa = PBXBuildFile; fileRef = E52E884C35FE76A1139F42B05359CBC8 /* WebSocket.swift */; }; - B9F1DD6721C5382B740DBF787B1C44D2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - BB056B9351B1BE41C2703393F69623DD /* WSEngine.swift in Sources */ = {isa = PBXBuildFile; fileRef = F07B207CD9F5DF97C2D649C58C619BB7 /* WSEngine.swift */; }; - C28A0006DD1C9AB062763C8FA2B3F93D /* NativeEngine.swift in Sources */ = {isa = PBXBuildFile; fileRef = 410F41433B29C461DFD54BA9C49BF969 /* NativeEngine.swift */; }; - CC235941F0CF9FA8C0FA3323A0D18203 /* Framer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69F2E8B7282AAD5139A14336728C9E95 /* Framer.swift */; }; + 1E45A6C23FB8A99022BDD7C91BE87C79 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E91EDFC062906B692D79949CF03656E0 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3215C79A39E093A06CFADD1C676186EF /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A419351F9AA41BA839E085782B6EC8F /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */; }; + 67AE82EC45F02431A636B2EDB65A8CBC /* Pods-AppSyncRTCSample-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DD2E3ADD4198B79EB673AE0FD935ED4 /* Pods-AppSyncRTCSample-dummy.m */; }; + 6AA6E85C39C4DDA0775DEE288B7D1B75 /* Pods-HostApp-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F57B48B2F8042B6C7358E1972A4D49B /* Pods-HostApp-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 74409405F7E5B38E9FCD0BC33A2BD292 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F1632879ABFD87FC2C4A43E0429588 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */; }; + 7B664293FE76A30B68ECA87EE112914F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 7C7BE3B5D64C4768488DFC1E67ED3108 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 89571EBB6ECBFFF6F17FF9301FA19E94 /* Pods-AppSyncRealTimeClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 271589561E45E1CAD1A15CCB571649F5 /* Pods-AppSyncRealTimeClient-dummy.m */; }; + 9E7A813BF8388B23FDA60108342B1843 /* Pods-AppSyncRTCSample-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DF7E4DE5CB6AAC5B37D5F560B52E25ED /* Pods-AppSyncRTCSample-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A8EAF14B207AE4C294CA58685ABB6732 /* Pods-HostApp-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1DC77499C2BADEF1A36530197B30598F /* Pods-HostApp-dummy.m */; }; + AC3B4144208C835C7C2C7A438605D0B0 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 47FCCE15B730E0D5C29B073819238B61 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ACF6AF1BEBE757AD1482B2F769941358 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + B100B66875A2A8DD02CB122021E54638 /* Pods-AppSyncRealTimeClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E67128F4C34713938F76DFB57AB96F1 /* Pods-AppSyncRealTimeClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C57381A49DB9C11E2D9D0F846B3C296D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; DF66036EB14110A1888BD21CF6E5BE36 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; - DF9BE4B3E95B007977780C9EFDA3EFBE /* Server.swift in Sources */ = {isa = PBXBuildFile; fileRef = C93067B8AD37A0C00AAF87778D10345F /* Server.swift */; }; - DFA2736CE4B16FD4D82450863EC58507 /* Compression.swift in Sources */ = {isa = PBXBuildFile; fileRef = 737C74188FDC06A159452694C664B9EB /* Compression.swift */; }; - E7074F52082307357FCAFDE840F3766B /* Pods-AppSyncRealTimeClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D60DBE52907CF3F1DF21E45E2C42E31 /* Pods-AppSyncRealTimeClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EB5C3537AD21658D3EC873A4A4AFDE30 /* FrameCollector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8637F2372A3F1500A725E0B3C2995DCA /* FrameCollector.swift */; }; - F581C39CCBD6F9B56C65E6313E8D8FE8 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BE523AB6A5CF6415A6351FEC601ECA29 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FA2A3CCAE01CF0108D2FDB7C8108B988 /* WSCompression.swift in Sources */ = {isa = PBXBuildFile; fileRef = D95211B402A2EAC0FC7A03B6A757D124 /* WSCompression.swift */; }; - FAFD54F649DC5D69DD05D517A0131968 /* Engine.swift in Sources */ = {isa = PBXBuildFile; fileRef = A51034B0C6D96B4EACD015A210B238E5 /* Engine.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 06BB8ADDB6B27DD8A727DA13C2091908 /* PBXContainerItemProxy */ = { + 0E3F0EBDDAFC35E12DF01EFC6D9CCF54 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; - remoteInfo = SwiftLint; + remoteGlobalIDString = 1CD0618C486973D5588EF20D2E8C0AEA; + remoteInfo = SwiftFormat; }; - 09B2D7C1F2B55E4A125AF24657E2EFB1 /* PBXContainerItemProxy */ = { + 42E0B7DD20069247421131106AC18990 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 9B78EE4AF6AE03E79D88886319853FF7; - remoteInfo = Starscream; + remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; + remoteInfo = SwiftLint; }; - 4E1BAB69CEE845D714318CA2A7066F4A /* PBXContainerItemProxy */ = { + 4BFAAEF5FF674DE127CE9543520F1ECC /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 9B78EE4AF6AE03E79D88886319853FF7; - remoteInfo = Starscream; + remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; + remoteInfo = SwiftLint; }; - 56098D93FCA28F09DBFCC3DCFF662327 /* PBXContainerItemProxy */ = { + B1789FAB3BCA4C32AF7AD876DB04B5BC /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 1CD0618C486973D5588EF20D2E8C0AEA; remoteInfo = SwiftFormat; }; - 5CE5E0F974526340626EC7D75595E4E0 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9B78EE4AF6AE03E79D88886319853FF7; - remoteInfo = Starscream; - }; - 5E72E41C284670928C742C9E29B2FDF5 /* PBXContainerItemProxy */ = { + B8AE6CFF9FA6852EE1DA157A4C6BFDA5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 1CD0618C486973D5588EF20D2E8C0AEA; remoteInfo = SwiftFormat; }; - 5EE800E8F6DEB44F2A75FED3E4E91F5B /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; - remoteInfo = SwiftLint; - }; - 60EE22495C2A80B673CF4A59B1793E7D /* PBXContainerItemProxy */ = { + C2CDA8DBC2C0CB6A95BBF6C48B27C7F3 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 1CD0618C486973D5588EF20D2E8C0AEA; remoteInfo = SwiftFormat; }; - 862B4B92298ED5F63A5C8737BF57D389 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 9B78EE4AF6AE03E79D88886319853FF7; - remoteInfo = Starscream; - }; - B916E8066AE5CDA0E7549B206D4471B4 /* PBXContainerItemProxy */ = { + FC3C0C715DAA581F633A6493C9FB8380 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; remoteInfo = SwiftLint; }; - EE43AF49FAD18350DD69F4E4FCB87B0F /* PBXContainerItemProxy */ = { + FFD6091259B3EC79C68DF7E397529E34 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 52B60EC2A583F24ACBB69C113F5488B9; remoteInfo = SwiftLint; }; - F16074CA1F08041DB4A55FBAB3C22734 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 1CD0618C486973D5588EF20D2E8C0AEA; - remoteInfo = SwiftFormat; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 03F7A3276C90DB9432B2403BBB9D2A53 /* FoundationSecurity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FoundationSecurity.swift; path = Sources/Security/FoundationSecurity.swift; sourceTree = ""; }; - 06E916A4A690DF0DC02232C9ADED6449 /* Starscream-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Starscream-prefix.pch"; sourceTree = ""; }; - 0C41223EE05E190DCA6549742F79399F /* Pods-AppSyncRTCSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRTCSample.release.xcconfig"; sourceTree = ""; }; - 0EF5DA51A97FC4F9DAAED71CDF57C28F /* Security.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Security.swift; path = Sources/Security/Security.swift; sourceTree = ""; }; - 1284AD0EE24AA15C7A4B36DE6C0D68DF /* Pods-AppSyncRTCSample-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRTCSample-Info.plist"; sourceTree = ""; }; - 134863EA1590459334B2B7F49710897A /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; sourceTree = ""; }; - 174519BFBCA8DC0E354AF1AB53B8650C /* Pods-HostApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp.debug.xcconfig"; sourceTree = ""; }; - 180B214D60505BCE759982E83FF77C8E /* FoundationHTTPServerHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FoundationHTTPServerHandler.swift; path = Sources/Framer/FoundationHTTPServerHandler.swift; sourceTree = ""; }; - 1977BE05FF5EEAE30BE41581CE1CCFE0 /* Starscream.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Starscream.modulemap; sourceTree = ""; }; - 1E6FB18A133A55AEF2676257477E2BC6 /* SwiftFormat.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftFormat.release.xcconfig; sourceTree = ""; }; - 221CD347554C6C8B635BA329F2FDF08C /* Pods-AppSyncRTCSample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRTCSample-acknowledgements.markdown"; sourceTree = ""; }; + 00431BD28D70939C15801EB6E69397B6 /* Pods-AppSyncRealTimeClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient.debug.xcconfig"; sourceTree = ""; }; + 085F1E7EC2C800801564BAC6A1CCF8E0 /* SwiftFormat.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftFormat.release.xcconfig; sourceTree = ""; }; + 11E9C95A7853AA3CD4346B3ADD404931 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; sourceTree = ""; }; + 168619CD4B7F97C336A8D7C3F5C3AA58 /* Pods-AppSyncRTCSample-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRTCSample-Info.plist"; sourceTree = ""; }; + 1B6D936ADA88614618BD93DB83A32C78 /* Pods-HostApp-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-Info.plist"; sourceTree = ""; }; + 1DC77499C2BADEF1A36530197B30598F /* Pods-HostApp-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HostApp-dummy.m"; sourceTree = ""; }; 22A29C08E1F2879B5F40B9272E98D7BD /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; path = Pods_AppSyncRealTimeClient_AppSyncRealTimeClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3373D970568188F6E29D4F8539662D39 /* Pods-AppSyncRTCSample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRTCSample-dummy.m"; sourceTree = ""; }; - 384E50D5E1B9FB176E1B375894858BB8 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist"; sourceTree = ""; }; - 3AF18D51FCC99A1CE4E23F9DAA637E43 /* Starscream-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Starscream-dummy.m"; sourceTree = ""; }; - 3FD3D578DE7FE4DE0500419C58D45EB7 /* Pods-HostApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp.release.xcconfig"; sourceTree = ""; }; - 401F1B9DD1981C661B6D0C6BCAD21EBC /* Pods-AppSyncRealTimeClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRealTimeClient.modulemap"; sourceTree = ""; }; - 410F41433B29C461DFD54BA9C49BF969 /* NativeEngine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NativeEngine.swift; path = Sources/Engine/NativeEngine.swift; sourceTree = ""; }; - 41141221B9F35AB6921FEC6590D21FCD /* Pods-AppSyncRTCSample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRTCSample-acknowledgements.plist"; sourceTree = ""; }; - 422F3A44E627544820F8ABE6B3970EB8 /* Pods-AppSyncRealTimeClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient.release.xcconfig"; sourceTree = ""; }; - 430F6AC58F7A56E9666194E84BA8C870 /* TCPTransport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TCPTransport.swift; path = Sources/Transport/TCPTransport.swift; sourceTree = ""; }; - 4F5A03BCFF1BC81AACCA8C32725AD401 /* WebSocketServer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WebSocketServer.swift; path = Sources/Server/WebSocketServer.swift; sourceTree = ""; }; + 271589561E45E1CAD1A15CCB571649F5 /* Pods-AppSyncRealTimeClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRealTimeClient-dummy.m"; sourceTree = ""; }; + 293E07BF9EF5D8F95EB86C2D85F3EF48 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; sourceTree = ""; }; + 2B5810D5C227D57CF24E64C3880097BB /* SwiftLint.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftLint.release.xcconfig; sourceTree = ""; }; + 2DD2E3ADD4198B79EB673AE0FD935ED4 /* Pods-AppSyncRTCSample-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRTCSample-dummy.m"; sourceTree = ""; }; + 31B976406D0411B0B7CE9F284C1B505B /* Pods-HostApp-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HostApp-acknowledgements.markdown"; sourceTree = ""; }; + 43BBE9E86EDB13616086DC81BEB3BC04 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown"; sourceTree = ""; }; + 47FCCE15B730E0D5C29B073819238B61 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h"; sourceTree = ""; }; + 482EF6CD56C5AA2C4E8AE4C2CB446CE9 /* Pods-HostApp.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-HostApp.modulemap"; sourceTree = ""; }; + 4F57B48B2F8042B6C7358E1972A4D49B /* Pods-HostApp-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HostApp-umbrella.h"; sourceTree = ""; }; 53FD200EDC1B7F726E251F28FC00588D /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests"; path = Pods_HostApp_AppSyncRealTimeClientIntegrationTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5D60DBE52907CF3F1DF21E45E2C42E31 /* Pods-AppSyncRealTimeClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRealTimeClient-umbrella.h"; sourceTree = ""; }; - 5F0C8E5464C79B978332043AB7396F39 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; sourceTree = ""; }; - 632521D0E4C043F74AA5493B36ADF45A /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m"; sourceTree = ""; }; + 57BDC9D734A1086E2EDC6B6D8E557FE1 /* SwiftFormat.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftFormat.debug.xcconfig; sourceTree = ""; }; + 57EE8F4BE0EC0F3E9E367C1676ABAA15 /* Pods-AppSyncRealTimeClient-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-Info.plist"; sourceTree = ""; }; + 5A64869DA26D6DC87A05E2728FCCBBC2 /* Pods-AppSyncRTCSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRTCSample.debug.xcconfig"; sourceTree = ""; }; + 5D2E06114ACCCC9BC9688EFCC94BBD91 /* Pods-AppSyncRealTimeClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-acknowledgements.plist"; sourceTree = ""; }; + 64BD24D3911522F3BB220653D2AA07A4 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown"; sourceTree = ""; }; 6872C6E03EEA24905C6813A477B6C3B3 /* Pods-AppSyncRealTimeClient */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-AppSyncRealTimeClient"; path = Pods_AppSyncRealTimeClient.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 69F2E8B7282AAD5139A14336728C9E95 /* Framer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Framer.swift; path = Sources/Framer/Framer.swift; sourceTree = ""; }; - 6BB605CE4D267DC8F407AF63D9AC8A95 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; sourceTree = ""; }; - 6ECF0AAE9F323948CD48B3C3A6738380 /* Pods-AppSyncRTCSample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRTCSample.debug.xcconfig"; sourceTree = ""; }; + 68E317DEBD6B11AED4C2483A8A864362 /* Pods-AppSyncRTCSample-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRTCSample-acknowledgements.markdown"; sourceTree = ""; }; + 6E67128F4C34713938F76DFB57AB96F1 /* Pods-AppSyncRealTimeClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRealTimeClient-umbrella.h"; sourceTree = ""; }; + 6FF0BC2FC8256643297AFF2E952B7FCB /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig"; sourceTree = ""; }; + 7237597EA1741B5387F59B6551845D9A /* Pods-AppSyncRTCSample-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRTCSample-acknowledgements.plist"; sourceTree = ""; }; 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 737C74188FDC06A159452694C664B9EB /* Compression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Compression.swift; path = Sources/Compression/Compression.swift; sourceTree = ""; }; - 7C6D0498CE9448A64BAE886552FCCD6B /* FoundationTransport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FoundationTransport.swift; path = Sources/Transport/FoundationTransport.swift; sourceTree = ""; }; - 82393BF234D31DE622FCE3F0A6D81DA8 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; sourceTree = ""; }; - 856119884A110C4AE532855C4B44D973 /* Pods-HostApp-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-acknowledgements.plist"; sourceTree = ""; }; - 8637F2372A3F1500A725E0B3C2995DCA /* FrameCollector.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FrameCollector.swift; path = Sources/Framer/FrameCollector.swift; sourceTree = ""; }; - 891B2270823847ED23F2ECFC28F935EC /* Starscream */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Starscream; path = Starscream.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8E6E2E9C7E9DC8FAA7C03E83452794FB /* FoundationHTTPHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FoundationHTTPHandler.swift; path = Sources/Framer/FoundationHTTPHandler.swift; sourceTree = ""; }; - 8FBFA4F497BF24BAB2C3C2C46831CA0A /* Starscream-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Starscream-umbrella.h"; sourceTree = ""; }; - 926BDB89A966BBC606CD53BA1871E433 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m"; sourceTree = ""; }; - 93350F2DBE11F1A905B9BD37B2342670 /* Pods-AppSyncRTCSample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRTCSample.modulemap"; sourceTree = ""; }; - 9783F8F2B1F7890527BA035E5948BCE2 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h"; sourceTree = ""; }; - 98EB4862848E26D52F6F6A7A071C1558 /* Pods-HostApp-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-Info.plist"; sourceTree = ""; }; - 990B73CD5CFE370366BE39253FBC1AC3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist"; sourceTree = ""; }; - 999D7A0732B0168D9EB631C456DEC8A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig"; sourceTree = ""; }; - 9B273836AFE7E07EE713B29F94B54285 /* Starscream.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Starscream.release.xcconfig; sourceTree = ""; }; - 9D2BCC3D81009251CF149E4E6A0C224E /* StringHTTPHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StringHTTPHandler.swift; path = Sources/Framer/StringHTTPHandler.swift; sourceTree = ""; }; + 755F1DE516742550CCF90EAE3A9AA70E /* Pods-HostApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp.release.xcconfig"; sourceTree = ""; }; + 7A419351F9AA41BA839E085782B6EC8F /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m"; sourceTree = ""; }; + 81AC879CD0C4A73AC68838F5ED2E54FF /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; sourceTree = ""; }; + 8A49621E14E09599B57B8F7407105957 /* Pods-AppSyncRealTimeClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRealTimeClient.modulemap"; sourceTree = ""; }; + 8B6CAEAECAA96CE17DADFC639E532365 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig"; sourceTree = ""; }; + 97F1632879ABFD87FC2C4A43E0429588 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m"; sourceTree = ""; }; + 9B469865C41A32F823B6DA81CC257F33 /* Pods-AppSyncRealTimeClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient.release.xcconfig"; sourceTree = ""; }; 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9FF7D529C51D3F1B0D444B08C40EE3AD /* Pods-AppSyncRTCSample-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AppSyncRTCSample-frameworks.sh"; sourceTree = ""; }; - A26BD722B33E83A41BD4A44DD2BDC4E3 /* Pods-AppSyncRTCSample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRTCSample-umbrella.h"; sourceTree = ""; }; - A31447240FB4AA22B5D3E1287DAF4DCB /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown"; sourceTree = ""; }; - A51034B0C6D96B4EACD015A210B238E5 /* Engine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Engine.swift; path = Sources/Engine/Engine.swift; sourceTree = ""; }; - A7D3E7A9A95C8813B014F9E13BCC1168 /* Starscream-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Starscream-Info.plist"; sourceTree = ""; }; - A9735D953EBECD0EBC3C1D3EC8BCAFFC /* Starscream.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Starscream.debug.xcconfig; sourceTree = ""; }; - AAA4F28117B314B9CF3F58B0C87EBE67 /* Pods-HostApp-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HostApp-umbrella.h"; sourceTree = ""; }; - AB0D09B888F2E45FB8F12D91368DEB24 /* Pods-AppSyncRealTimeClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRealTimeClient-acknowledgements.markdown"; sourceTree = ""; }; - B0E3C9706DBD9CF2465CBA4F7DB2934A /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh"; sourceTree = ""; }; - B50EC21E064304AF394DE66ABDF70559 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig"; sourceTree = ""; }; - BAFA07304E0D95CA475D728B2BA434B6 /* Data+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Data+Extensions.swift"; path = "Sources/DataBytes/Data+Extensions.swift"; sourceTree = ""; }; - BDD999664B0D6248CA38728B4D9F5678 /* Pods-HostApp.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-HostApp.modulemap"; sourceTree = ""; }; - BE523AB6A5CF6415A6351FEC601ECA29 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h"; sourceTree = ""; }; - C2E044D620E53BF3DADA20B55291DB1E /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown"; sourceTree = ""; }; - C4928D4555D3EC334CA09A3D4B1BCBF1 /* HTTPHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPHandler.swift; path = Sources/Framer/HTTPHandler.swift; sourceTree = ""; }; - C56CA9A1C0E06E53913BBA31CEE13A31 /* SwiftLint.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftLint.debug.xcconfig; sourceTree = ""; }; + 9E6B2E58FEAD9797872D6103099E626E /* Pods-HostApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp.debug.xcconfig"; sourceTree = ""; }; + B181F8A70D8DEBF23F3E3E922CDA4712 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig"; sourceTree = ""; }; + B9D708C30277F067A6E688FD0170F879 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; sourceTree = ""; }; + B9DA30DE3CE247F7D1A8A695649B412B /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig"; sourceTree = ""; }; + C32D9D18EDCF05726666D03A6E2309FE /* Pods-AppSyncRealTimeClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AppSyncRealTimeClient-acknowledgements.markdown"; sourceTree = ""; }; C5D92A24D6DBC95BE97867525C82CA97 /* Pods-AppSyncRTCSample */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-AppSyncRTCSample"; path = Pods_AppSyncRTCSample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C93067B8AD37A0C00AAF87778D10345F /* Server.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Server.swift; path = Sources/Server/Server.swift; sourceTree = ""; }; - CBD288DBC23116B89AEE85DE391FA5F1 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig"; sourceTree = ""; }; - CCC7535D1826737BD1D1A1C73494A875 /* Pods-AppSyncRealTimeClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-acknowledgements.plist"; sourceTree = ""; }; - D511F2F371791B10D304FB282E85D15A /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh"; sourceTree = ""; }; - D5297297949960DF1F2C453F5D4E7034 /* Pods-AppSyncRealTimeClient-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-Info.plist"; sourceTree = ""; }; - D5E492CC0BF640273F329A4B0F8C322E /* Pods-HostApp-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-HostApp-acknowledgements.markdown"; sourceTree = ""; }; - D95211B402A2EAC0FC7A03B6A757D124 /* WSCompression.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WSCompression.swift; path = Sources/Compression/WSCompression.swift; sourceTree = ""; }; - D999E258E54C8B9C1FD75659EC9F1DFA /* SwiftFormat.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftFormat.debug.xcconfig; sourceTree = ""; }; - DFAB773151BA1C1F2F4B68EBDE223BA5 /* SwiftLint.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftLint.release.xcconfig; sourceTree = ""; }; - E52E884C35FE76A1139F42B05359CBC8 /* WebSocket.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WebSocket.swift; path = Sources/Starscream/WebSocket.swift; sourceTree = ""; }; + C81DFFA3716EF73EDD2C7ECD9FDA54B3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist"; sourceTree = ""; }; + C865C06BF5893D7D914E415E8A58E021 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist"; sourceTree = ""; }; + DF7E4DE5CB6AAC5B37D5F560B52E25ED /* Pods-AppSyncRTCSample-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AppSyncRTCSample-umbrella.h"; sourceTree = ""; }; + E91EDFC062906B692D79949CF03656E0 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h"; sourceTree = ""; }; ED00F87B053026A542BE85D0CA39F88F /* Pods-HostApp */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-HostApp"; path = Pods_HostApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EF215971A0AC1B1AFAF6E20BC75399E3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig"; sourceTree = ""; }; - F07B207CD9F5DF97C2D649C58C619BB7 /* WSEngine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WSEngine.swift; path = Sources/Engine/WSEngine.swift; sourceTree = ""; }; - F2B4F08C3A443D450276C13458D68AB6 /* Pods-HostApp-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-HostApp-dummy.m"; sourceTree = ""; }; - F2CAEC3C9FC0A8AD7BE1DAB6A521D691 /* Transport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Transport.swift; path = Sources/Transport/Transport.swift; sourceTree = ""; }; - FA2FBC1398CA557C7C4333EBDF94EB76 /* Pods-AppSyncRealTimeClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRealTimeClient.debug.xcconfig"; sourceTree = ""; }; - FA724FB4539BE70535E32D6B51B233CF /* Pods-AppSyncRealTimeClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AppSyncRealTimeClient-dummy.m"; sourceTree = ""; }; + ED482D20A3F2EF0BF6D78F3F998E5D3C /* SwiftLint.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftLint.debug.xcconfig; sourceTree = ""; }; + F0076B93F3C9438ACF344CF598B30A33 /* Pods-HostApp-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-HostApp-acknowledgements.plist"; sourceTree = ""; }; + F7E0D99B119C4BD5E518A522E3BD53C5 /* Pods-AppSyncRTCSample.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-AppSyncRTCSample.modulemap"; sourceTree = ""; }; + FB272BFC64E2E5F03B1BBCE9A36CD548 /* Pods-AppSyncRTCSample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AppSyncRTCSample.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 22579CC44F871C4C542FC182B991B33C /* Frameworks */ = { + 181E90054D84A64E11066E517E6AF80A /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 33C71989B6C635864EC5E4862AFAAE8A /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 37FAB413DB00C18A2E0311B4D786BF98 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B9F1DD6721C5382B740DBF787B1C44D2 /* Foundation.framework in Frameworks */, + ACF6AF1BEBE757AD1482B2F769941358 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -265,212 +175,190 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 8CB0FB1ED73D8E0AB4B3B93D169A6940 /* Frameworks */ = { + B22761951A42AB0C8FE5AC69E8F757C8 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 00995668448B0482C6C3725DC3FB1E2D /* Foundation.framework in Frameworks */, + 7C7BE3B5D64C4768488DFC1E67ED3108 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - B2450B25C7ACC9EDE4912539C767CF84 /* Frameworks */ = { + E4DB59CF0A51191F7D30E15D3CE67A90 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 915ABE9F9D29D5D19F91A3BA1F272308 /* Foundation.framework in Frameworks */, + 7B664293FE76A30B68ECA87EE112914F /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - BCCB2173790C46B04ACE75132E37055B /* Frameworks */ = { + E993410873A5672382D67999704DA932 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 68C5500DF1895E810A1B363D3BCB1110 /* Foundation.framework in Frameworks */, + C57381A49DB9C11E2D9D0F846B3C296D /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 120316207F6661A29A01BB8F9BBEF8F1 /* Support Files */ = { + 0F07723010F77C5805C75FA32B55C229 /* Pods-AppSyncRealTimeClient */ = { isa = PBXGroup; children = ( - D999E258E54C8B9C1FD75659EC9F1DFA /* SwiftFormat.debug.xcconfig */, - 1E6FB18A133A55AEF2676257477E2BC6 /* SwiftFormat.release.xcconfig */, + 8A49621E14E09599B57B8F7407105957 /* Pods-AppSyncRealTimeClient.modulemap */, + C32D9D18EDCF05726666D03A6E2309FE /* Pods-AppSyncRealTimeClient-acknowledgements.markdown */, + 5D2E06114ACCCC9BC9688EFCC94BBD91 /* Pods-AppSyncRealTimeClient-acknowledgements.plist */, + 271589561E45E1CAD1A15CCB571649F5 /* Pods-AppSyncRealTimeClient-dummy.m */, + 57EE8F4BE0EC0F3E9E367C1676ABAA15 /* Pods-AppSyncRealTimeClient-Info.plist */, + 6E67128F4C34713938F76DFB57AB96F1 /* Pods-AppSyncRealTimeClient-umbrella.h */, + 00431BD28D70939C15801EB6E69397B6 /* Pods-AppSyncRealTimeClient.debug.xcconfig */, + 9B469865C41A32F823B6DA81CC257F33 /* Pods-AppSyncRealTimeClient.release.xcconfig */, ); - name = "Support Files"; - path = "../Target Support Files/SwiftFormat"; + name = "Pods-AppSyncRealTimeClient"; + path = "Target Support Files/Pods-AppSyncRealTimeClient"; sourceTree = ""; }; - 135C75D207DA61D8FCE4C40905592B0D /* Starscream */ = { + 2CC540D320660324EBA50837BAC3E041 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */ = { isa = PBXGroup; children = ( - 737C74188FDC06A159452694C664B9EB /* Compression.swift */, - BAFA07304E0D95CA475D728B2BA434B6 /* Data+Extensions.swift */, - A51034B0C6D96B4EACD015A210B238E5 /* Engine.swift */, - 8E6E2E9C7E9DC8FAA7C03E83452794FB /* FoundationHTTPHandler.swift */, - 180B214D60505BCE759982E83FF77C8E /* FoundationHTTPServerHandler.swift */, - 03F7A3276C90DB9432B2403BBB9D2A53 /* FoundationSecurity.swift */, - 7C6D0498CE9448A64BAE886552FCCD6B /* FoundationTransport.swift */, - 8637F2372A3F1500A725E0B3C2995DCA /* FrameCollector.swift */, - 69F2E8B7282AAD5139A14336728C9E95 /* Framer.swift */, - C4928D4555D3EC334CA09A3D4B1BCBF1 /* HTTPHandler.swift */, - 410F41433B29C461DFD54BA9C49BF969 /* NativeEngine.swift */, - 0EF5DA51A97FC4F9DAAED71CDF57C28F /* Security.swift */, - C93067B8AD37A0C00AAF87778D10345F /* Server.swift */, - 9D2BCC3D81009251CF149E4E6A0C224E /* StringHTTPHandler.swift */, - 430F6AC58F7A56E9666194E84BA8C870 /* TCPTransport.swift */, - F2CAEC3C9FC0A8AD7BE1DAB6A521D691 /* Transport.swift */, - E52E884C35FE76A1139F42B05359CBC8 /* WebSocket.swift */, - 4F5A03BCFF1BC81AACCA8C32725AD401 /* WebSocketServer.swift */, - D95211B402A2EAC0FC7A03B6A757D124 /* WSCompression.swift */, - F07B207CD9F5DF97C2D649C58C619BB7 /* WSEngine.swift */, - 83681F15B53C4D30045511A41B8A97FD /* Support Files */, - ); - name = Starscream; - path = Starscream; + B9D708C30277F067A6E688FD0170F879 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap */, + 64BD24D3911522F3BB220653D2AA07A4 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown */, + C865C06BF5893D7D914E415E8A58E021 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist */, + 7A419351F9AA41BA839E085782B6EC8F /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */, + 11E9C95A7853AA3CD4346B3ADD404931 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist */, + 47FCCE15B730E0D5C29B073819238B61 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */, + B9DA30DE3CE247F7D1A8A695649B412B /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */, + 6FF0BC2FC8256643297AFF2E952B7FCB /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */, + ); + name = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; + path = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; sourceTree = ""; }; - 37E4C763E3D1AD54AEBD3E13FA588594 /* Support Files */ = { + 3CE74E18E214A3FE9C34446B045F0AD6 /* Support Files */ = { isa = PBXGroup; children = ( - C56CA9A1C0E06E53913BBA31CEE13A31 /* SwiftLint.debug.xcconfig */, - DFAB773151BA1C1F2F4B68EBDE223BA5 /* SwiftLint.release.xcconfig */, + ED482D20A3F2EF0BF6D78F3F998E5D3C /* SwiftLint.debug.xcconfig */, + 2B5810D5C227D57CF24E64C3880097BB /* SwiftLint.release.xcconfig */, ); name = "Support Files"; path = "../Target Support Files/SwiftLint"; sourceTree = ""; }; - 578452D2E740E91742655AC8F1636D1F /* iOS */ = { + 4DDBE6707C958BE5A8A324CCEFC193EF /* SwiftLint */ = { isa = PBXGroup; children = ( - 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, + 3CE74E18E214A3FE9C34446B045F0AD6 /* Support Files */, ); - name = iOS; + name = SwiftLint; + path = SwiftLint; sourceTree = ""; }; - 624D60885F96B9E644F9EF942F6722A5 /* Targets Support Files */ = { + 578452D2E740E91742655AC8F1636D1F /* iOS */ = { isa = PBXGroup; children = ( - 93C6AFA96F7A396B4BC6BA11FAFA0E9C /* Pods-AppSyncRealTimeClient */, - D88C2EDA1D194276526451EE816A0411 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */, - BA797455DAF286AA31DC0221F4F9071B /* Pods-AppSyncRTCSample */, - 969A663D79022BB779552FAB99158759 /* Pods-HostApp */, - 89A54FC8336E04DA8E84DCCA071461BB /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */, + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, ); - name = "Targets Support Files"; + name = iOS; sourceTree = ""; }; - 83681F15B53C4D30045511A41B8A97FD /* Support Files */ = { + 7AC8D62117210C9B33C9A55DB01553F3 /* Pods-AppSyncRTCSample */ = { isa = PBXGroup; children = ( - 1977BE05FF5EEAE30BE41581CE1CCFE0 /* Starscream.modulemap */, - 3AF18D51FCC99A1CE4E23F9DAA637E43 /* Starscream-dummy.m */, - A7D3E7A9A95C8813B014F9E13BCC1168 /* Starscream-Info.plist */, - 06E916A4A690DF0DC02232C9ADED6449 /* Starscream-prefix.pch */, - 8FBFA4F497BF24BAB2C3C2C46831CA0A /* Starscream-umbrella.h */, - A9735D953EBECD0EBC3C1D3EC8BCAFFC /* Starscream.debug.xcconfig */, - 9B273836AFE7E07EE713B29F94B54285 /* Starscream.release.xcconfig */, + F7E0D99B119C4BD5E518A522E3BD53C5 /* Pods-AppSyncRTCSample.modulemap */, + 68E317DEBD6B11AED4C2483A8A864362 /* Pods-AppSyncRTCSample-acknowledgements.markdown */, + 7237597EA1741B5387F59B6551845D9A /* Pods-AppSyncRTCSample-acknowledgements.plist */, + 2DD2E3ADD4198B79EB673AE0FD935ED4 /* Pods-AppSyncRTCSample-dummy.m */, + 168619CD4B7F97C336A8D7C3F5C3AA58 /* Pods-AppSyncRTCSample-Info.plist */, + DF7E4DE5CB6AAC5B37D5F560B52E25ED /* Pods-AppSyncRTCSample-umbrella.h */, + 5A64869DA26D6DC87A05E2728FCCBBC2 /* Pods-AppSyncRTCSample.debug.xcconfig */, + FB272BFC64E2E5F03B1BBCE9A36CD548 /* Pods-AppSyncRTCSample.release.xcconfig */, ); - name = "Support Files"; - path = "../Target Support Files/Starscream"; + name = "Pods-AppSyncRTCSample"; + path = "Target Support Files/Pods-AppSyncRTCSample"; sourceTree = ""; }; - 89A54FC8336E04DA8E84DCCA071461BB /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */ = { + 7C592370C93C8834E43C95E6B6375411 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */ = { isa = PBXGroup; children = ( - 134863EA1590459334B2B7F49710897A /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap */, - A31447240FB4AA22B5D3E1287DAF4DCB /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown */, - 384E50D5E1B9FB176E1B375894858BB8 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist */, - 926BDB89A966BBC606CD53BA1871E433 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */, - D511F2F371791B10D304FB282E85D15A /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh */, - 6BB605CE4D267DC8F407AF63D9AC8A95 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist */, - 9783F8F2B1F7890527BA035E5948BCE2 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */, - EF215971A0AC1B1AFAF6E20BC75399E3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */, - CBD288DBC23116B89AEE85DE391FA5F1 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */, + 81AC879CD0C4A73AC68838F5ED2E54FF /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap */, + 43BBE9E86EDB13616086DC81BEB3BC04 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown */, + C81DFFA3716EF73EDD2C7ECD9FDA54B3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist */, + 97F1632879ABFD87FC2C4A43E0429588 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m */, + 293E07BF9EF5D8F95EB86C2D85F3EF48 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist */, + E91EDFC062906B692D79949CF03656E0 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h */, + B181F8A70D8DEBF23F3E3E922CDA4712 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */, + 8B6CAEAECAA96CE17DADFC639E532365 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */, ); name = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests"; path = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests"; sourceTree = ""; }; - 8A037C2DC441AE19C037C749BCBA7C8A /* Products */ = { + 8A0BDFAE11F73EFB936005F32975AE64 /* Pods */ = { isa = PBXGroup; children = ( - 6872C6E03EEA24905C6813A477B6C3B3 /* Pods-AppSyncRealTimeClient */, - 22A29C08E1F2879B5F40B9272E98D7BD /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */, - C5D92A24D6DBC95BE97867525C82CA97 /* Pods-AppSyncRTCSample */, - ED00F87B053026A542BE85D0CA39F88F /* Pods-HostApp */, - 53FD200EDC1B7F726E251F28FC00588D /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */, - 891B2270823847ED23F2ECFC28F935EC /* Starscream */, + C2ED518B232321B1FA183996AEBAC337 /* SwiftFormat */, + 4DDBE6707C958BE5A8A324CCEFC193EF /* SwiftLint */, ); - name = Products; + name = Pods; sourceTree = ""; }; - 93C6AFA96F7A396B4BC6BA11FAFA0E9C /* Pods-AppSyncRealTimeClient */ = { + A69E3F1FF27C4A1CD2C303F40BF715E3 /* Support Files */ = { isa = PBXGroup; children = ( - 401F1B9DD1981C661B6D0C6BCAD21EBC /* Pods-AppSyncRealTimeClient.modulemap */, - AB0D09B888F2E45FB8F12D91368DEB24 /* Pods-AppSyncRealTimeClient-acknowledgements.markdown */, - CCC7535D1826737BD1D1A1C73494A875 /* Pods-AppSyncRealTimeClient-acknowledgements.plist */, - FA724FB4539BE70535E32D6B51B233CF /* Pods-AppSyncRealTimeClient-dummy.m */, - D5297297949960DF1F2C453F5D4E7034 /* Pods-AppSyncRealTimeClient-Info.plist */, - 5D60DBE52907CF3F1DF21E45E2C42E31 /* Pods-AppSyncRealTimeClient-umbrella.h */, - FA2FBC1398CA557C7C4333EBDF94EB76 /* Pods-AppSyncRealTimeClient.debug.xcconfig */, - 422F3A44E627544820F8ABE6B3970EB8 /* Pods-AppSyncRealTimeClient.release.xcconfig */, + 57BDC9D734A1086E2EDC6B6D8E557FE1 /* SwiftFormat.debug.xcconfig */, + 085F1E7EC2C800801564BAC6A1CCF8E0 /* SwiftFormat.release.xcconfig */, ); - name = "Pods-AppSyncRealTimeClient"; - path = "Target Support Files/Pods-AppSyncRealTimeClient"; + name = "Support Files"; + path = "../Target Support Files/SwiftFormat"; sourceTree = ""; }; - 969A663D79022BB779552FAB99158759 /* Pods-HostApp */ = { + B16B207E4901CC5619791EA16937602D /* Products */ = { isa = PBXGroup; children = ( - BDD999664B0D6248CA38728B4D9F5678 /* Pods-HostApp.modulemap */, - D5E492CC0BF640273F329A4B0F8C322E /* Pods-HostApp-acknowledgements.markdown */, - 856119884A110C4AE532855C4B44D973 /* Pods-HostApp-acknowledgements.plist */, - F2B4F08C3A443D450276C13458D68AB6 /* Pods-HostApp-dummy.m */, - 98EB4862848E26D52F6F6A7A071C1558 /* Pods-HostApp-Info.plist */, - AAA4F28117B314B9CF3F58B0C87EBE67 /* Pods-HostApp-umbrella.h */, - 174519BFBCA8DC0E354AF1AB53B8650C /* Pods-HostApp.debug.xcconfig */, - 3FD3D578DE7FE4DE0500419C58D45EB7 /* Pods-HostApp.release.xcconfig */, + 6872C6E03EEA24905C6813A477B6C3B3 /* Pods-AppSyncRealTimeClient */, + 22A29C08E1F2879B5F40B9272E98D7BD /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */, + C5D92A24D6DBC95BE97867525C82CA97 /* Pods-AppSyncRTCSample */, + ED00F87B053026A542BE85D0CA39F88F /* Pods-HostApp */, + 53FD200EDC1B7F726E251F28FC00588D /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */, ); - name = "Pods-HostApp"; - path = "Target Support Files/Pods-HostApp"; + name = Products; sourceTree = ""; }; - AAA1AE0C8BA120688EB23A3811F5E707 /* SwiftLint */ = { + B4AF75884BEC49A20197F085D841C783 /* Targets Support Files */ = { isa = PBXGroup; children = ( - 37E4C763E3D1AD54AEBD3E13FA588594 /* Support Files */, + 0F07723010F77C5805C75FA32B55C229 /* Pods-AppSyncRealTimeClient */, + 2CC540D320660324EBA50837BAC3E041 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */, + 7AC8D62117210C9B33C9A55DB01553F3 /* Pods-AppSyncRTCSample */, + C6599D42CC95B49152771BA46BE86C53 /* Pods-HostApp */, + 7C592370C93C8834E43C95E6B6375411 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */, ); - name = SwiftLint; - path = SwiftLint; + name = "Targets Support Files"; sourceTree = ""; }; - BA797455DAF286AA31DC0221F4F9071B /* Pods-AppSyncRTCSample */ = { + C2ED518B232321B1FA183996AEBAC337 /* SwiftFormat */ = { isa = PBXGroup; children = ( - 93350F2DBE11F1A905B9BD37B2342670 /* Pods-AppSyncRTCSample.modulemap */, - 221CD347554C6C8B635BA329F2FDF08C /* Pods-AppSyncRTCSample-acknowledgements.markdown */, - 41141221B9F35AB6921FEC6590D21FCD /* Pods-AppSyncRTCSample-acknowledgements.plist */, - 3373D970568188F6E29D4F8539662D39 /* Pods-AppSyncRTCSample-dummy.m */, - 9FF7D529C51D3F1B0D444B08C40EE3AD /* Pods-AppSyncRTCSample-frameworks.sh */, - 1284AD0EE24AA15C7A4B36DE6C0D68DF /* Pods-AppSyncRTCSample-Info.plist */, - A26BD722B33E83A41BD4A44DD2BDC4E3 /* Pods-AppSyncRTCSample-umbrella.h */, - 6ECF0AAE9F323948CD48B3C3A6738380 /* Pods-AppSyncRTCSample.debug.xcconfig */, - 0C41223EE05E190DCA6549742F79399F /* Pods-AppSyncRTCSample.release.xcconfig */, + A69E3F1FF27C4A1CD2C303F40BF715E3 /* Support Files */, ); - name = "Pods-AppSyncRTCSample"; - path = "Target Support Files/Pods-AppSyncRTCSample"; + name = SwiftFormat; + path = SwiftFormat; sourceTree = ""; }; - CC045C9E62BD56A7F27C6D40B5E97D02 /* SwiftFormat */ = { + C6599D42CC95B49152771BA46BE86C53 /* Pods-HostApp */ = { isa = PBXGroup; children = ( - 120316207F6661A29A01BB8F9BBEF8F1 /* Support Files */, + 482EF6CD56C5AA2C4E8AE4C2CB446CE9 /* Pods-HostApp.modulemap */, + 31B976406D0411B0B7CE9F284C1B505B /* Pods-HostApp-acknowledgements.markdown */, + F0076B93F3C9438ACF344CF598B30A33 /* Pods-HostApp-acknowledgements.plist */, + 1DC77499C2BADEF1A36530197B30598F /* Pods-HostApp-dummy.m */, + 1B6D936ADA88614618BD93DB83A32C78 /* Pods-HostApp-Info.plist */, + 4F57B48B2F8042B6C7358E1972A4D49B /* Pods-HostApp-umbrella.h */, + 9E6B2E58FEAD9797872D6103099E626E /* Pods-HostApp.debug.xcconfig */, + 755F1DE516742550CCF90EAE3A9AA70E /* Pods-HostApp.release.xcconfig */, ); - name = SwiftFormat; - path = SwiftFormat; + name = "Pods-HostApp"; + path = "Target Support Files/Pods-HostApp"; sourceTree = ""; }; CF1408CF629C7361332E53B88F7BD30C = { @@ -478,9 +366,9 @@ children = ( 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, - D6B6D7C366E1E52F2D52D3CEACEB71E7 /* Pods */, - 8A037C2DC441AE19C037C749BCBA7C8A /* Products */, - 624D60885F96B9E644F9EF942F6722A5 /* Targets Support Files */, + 8A0BDFAE11F73EFB936005F32975AE64 /* Pods */, + B16B207E4901CC5619791EA16937602D /* Products */, + B4AF75884BEC49A20197F085D841C783 /* Targets Support Files */, ); sourceTree = ""; }; @@ -492,81 +380,46 @@ name = Frameworks; sourceTree = ""; }; - D6B6D7C366E1E52F2D52D3CEACEB71E7 /* Pods */ = { - isa = PBXGroup; - children = ( - 135C75D207DA61D8FCE4C40905592B0D /* Starscream */, - CC045C9E62BD56A7F27C6D40B5E97D02 /* SwiftFormat */, - AAA1AE0C8BA120688EB23A3811F5E707 /* SwiftLint */, - ); - name = Pods; - sourceTree = ""; - }; - D88C2EDA1D194276526451EE816A0411 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */ = { - isa = PBXGroup; - children = ( - 82393BF234D31DE622FCE3F0A6D81DA8 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap */, - C2E044D620E53BF3DADA20B55291DB1E /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown */, - 990B73CD5CFE370366BE39253FBC1AC3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist */, - 632521D0E4C043F74AA5493B36ADF45A /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m */, - B0E3C9706DBD9CF2465CBA4F7DB2934A /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh */, - 5F0C8E5464C79B978332043AB7396F39 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist */, - BE523AB6A5CF6415A6351FEC601ECA29 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h */, - B50EC21E064304AF394DE66ABDF70559 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */, - 999D7A0732B0168D9EB631C456DEC8A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */, - ); - name = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; - path = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 0B0C1DCA52C6437F26133B060AA301B8 /* Headers */ = { + 4BA61E766D4FA1FF4B8B23AB9438E8A4 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 2052554082DD68FC16C6F176C04D413C /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h in Headers */, + 9E7A813BF8388B23FDA60108342B1843 /* Pods-AppSyncRTCSample-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 3CBD0F9C48772E87C2F80436B70E099E /* Headers */ = { + AB57AD7E3ECB853477C38910AADC49FE /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 00C9C2E54995B3BEA1C999016833A58B /* Starscream-umbrella.h in Headers */, + B100B66875A2A8DD02CB122021E54638 /* Pods-AppSyncRealTimeClient-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 53E8103CBF651F027D00264A2FECC20D /* Headers */ = { + AB7E340F7FCAC3D02A76A10679C511E1 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - E7074F52082307357FCAFDE840F3766B /* Pods-AppSyncRealTimeClient-umbrella.h in Headers */, + AC3B4144208C835C7C2C7A438605D0B0 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - BFE94E508C7C1ABB5212552B7AFA00C0 /* Headers */ = { + BD88B4531B17F9E029645B53BDA61696 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 6AA6E85C39C4DDA0775DEE288B7D1B75 /* Pods-HostApp-umbrella.h in Headers */, + 1E45A6C23FB8A99022BDD7C91BE87C79 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - EE94D74EA9478EBE3F0C0F0C4F6F777D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - F581C39CCBD6F9B56C65E6313E8D8FE8 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F30414B820451CDCE04B7AC7A08B3F51 /* Headers */ = { + BFE94E508C7C1ABB5212552B7AFA00C0 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 02E351D61AED26EF2D1A51B014DEFA65 /* Pods-AppSyncRTCSample-umbrella.h in Headers */, + 6AA6E85C39C4DDA0775DEE288B7D1B75 /* Pods-HostApp-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -575,19 +428,18 @@ /* Begin PBXNativeTarget section */ 2BEF669ED21FB1C24EB8C90152EB8E69 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 446A753797FBF42F388F8ECE017D276B /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests" */; + buildConfigurationList = 23586B07F049A69C0DA26C165617C588 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests" */; buildPhases = ( - EE94D74EA9478EBE3F0C0F0C4F6F777D /* Headers */, - 547C755DB71131A7D4D1A1A63917E21F /* Sources */, - 37FAB413DB00C18A2E0311B4D786BF98 /* Frameworks */, - B10206F2F62A1FEC27351A90110B285E /* Resources */, + AB7E340F7FCAC3D02A76A10679C511E1 /* Headers */, + 8EAEE416793277402847A86155BB28D7 /* Sources */, + E4DB59CF0A51191F7D30E15D3CE67A90 /* Frameworks */, + 661EBF84A6A83E297B967641BAF9E9BB /* Resources */, ); buildRules = ( ); dependencies = ( - A39DAEEEF1AE8225597415A38BB5FF63 /* PBXTargetDependency */, - 18DE0F11690F08A3777547966BDC3039 /* PBXTargetDependency */, - AAAEC904946AC8ACBA6EC282B2C5526D /* PBXTargetDependency */, + D8446F3AD84E026095D626EEFF511306 /* PBXTargetDependency */, + C26505D885CF67FB629134B151EABA53 /* PBXTargetDependency */, ); name = "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests"; productName = Pods_AppSyncRealTimeClient_AppSyncRealTimeClientTests; @@ -614,19 +466,18 @@ }; 74C5B4D6ADB79A78CB1D916FF8643908 /* Pods-AppSyncRTCSample */ = { isa = PBXNativeTarget; - buildConfigurationList = A86328A17F73E6E03858AEBF2FABB48D /* Build configuration list for PBXNativeTarget "Pods-AppSyncRTCSample" */; + buildConfigurationList = 9BD317483CC7E8E60D52606A0E113B2B /* Build configuration list for PBXNativeTarget "Pods-AppSyncRTCSample" */; buildPhases = ( - F30414B820451CDCE04B7AC7A08B3F51 /* Headers */, - 6EFBDDE582C4D18A00287D1A010224C7 /* Sources */, - BCCB2173790C46B04ACE75132E37055B /* Frameworks */, - E2617F427D527107E1AA86CF708F57F4 /* Resources */, + 4BA61E766D4FA1FF4B8B23AB9438E8A4 /* Headers */, + 0F8D56FB381D4F63C02175E03FBBF6A7 /* Sources */, + B22761951A42AB0C8FE5AC69E8F757C8 /* Frameworks */, + 64D57B2FAB4374F4FAAC123FBA85B277 /* Resources */, ); buildRules = ( ); dependencies = ( - 50FF195B0516037C88D626A9853D7713 /* PBXTargetDependency */, - 0B525E8757E6CA36B2703BEA3844655A /* PBXTargetDependency */, - 16B8FEF86C17F058C7F7AF2E13757CAC /* PBXTargetDependency */, + 346511FD1B511450CA8F19F545BF8E70 /* PBXTargetDependency */, + 359E0346D7780EFD5F1DFCEF8222D3CA /* PBXTargetDependency */, ); name = "Pods-AppSyncRTCSample"; productName = Pods_AppSyncRTCSample; @@ -635,19 +486,18 @@ }; 9785554C3AC8196C58B3F36D51C5DF3E /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 7C41A6B80DF6BE57E362AF79449FF7CB /* Build configuration list for PBXNativeTarget "Pods-HostApp-AppSyncRealTimeClientIntegrationTests" */; + buildConfigurationList = E56148569DAB76048CFC771073466E6B /* Build configuration list for PBXNativeTarget "Pods-HostApp-AppSyncRealTimeClientIntegrationTests" */; buildPhases = ( - 0B0C1DCA52C6437F26133B060AA301B8 /* Headers */, - 869CF81BD27DF4A7A7F916F2178842C8 /* Sources */, - 8CB0FB1ED73D8E0AB4B3B93D169A6940 /* Frameworks */, - A8A642146702F3A9E14355D4ADFDA411 /* Resources */, + BD88B4531B17F9E029645B53BDA61696 /* Headers */, + EAFC1B2BA3D5C27FC1A1C35CCA2965C3 /* Sources */, + E993410873A5672382D67999704DA932 /* Frameworks */, + 46BCE073307B5E18396D1E51726B099E /* Resources */, ); buildRules = ( ); dependencies = ( - F6395EE8939D653684CD10CEFF01DCAE /* PBXTargetDependency */, - FFA5650287A25891EF030A97F2EB28C9 /* PBXTargetDependency */, - DC319EC4A174CDC315D80378A5C28B30 /* PBXTargetDependency */, + B6CA1A27E2EEADEBD0C1653E9B0C56BA /* PBXTargetDependency */, + 62EDC54F19D3F819D993F21765952EFF /* PBXTargetDependency */, ); name = "Pods-HostApp-AppSyncRealTimeClientIntegrationTests"; productName = Pods_HostApp_AppSyncRealTimeClientIntegrationTests; @@ -656,51 +506,32 @@ }; 9A8C78C2BEE0B5D110555008D00CA1F1 /* Pods-AppSyncRealTimeClient */ = { isa = PBXNativeTarget; - buildConfigurationList = 0EE2BD7DE65D1E994ACC3ADE7D518289 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient" */; + buildConfigurationList = AD614B4F9F71EE72DC2EF65143873CC8 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient" */; buildPhases = ( - 53E8103CBF651F027D00264A2FECC20D /* Headers */, - 651FA75AB70E58168374397D7E18174A /* Sources */, - B2450B25C7ACC9EDE4912539C767CF84 /* Frameworks */, - D2E2F3075246EDD52347CB09EAF33455 /* Resources */, + AB57AD7E3ECB853477C38910AADC49FE /* Headers */, + 9CD016DDD78A88B05377A39E92464166 /* Sources */, + 181E90054D84A64E11066E517E6AF80A /* Frameworks */, + 1EA90D1ADE8EAFE71AC205BA4A15DD48 /* Resources */, ); buildRules = ( ); dependencies = ( - 9D501468C8D35CAA9F50DDCD920DBFC1 /* PBXTargetDependency */, - 44AE4800F55BE63A267A21680DB9322D /* PBXTargetDependency */, - E7366048951920E7C08A15F36932050A /* PBXTargetDependency */, + 0B3126F4129F792C8635E7FD8762DBE7 /* PBXTargetDependency */, + 783A195F0AD003643C1EF15692599B99 /* PBXTargetDependency */, ); name = "Pods-AppSyncRealTimeClient"; productName = Pods_AppSyncRealTimeClient; productReference = 6872C6E03EEA24905C6813A477B6C3B3 /* Pods-AppSyncRealTimeClient */; productType = "com.apple.product-type.framework"; }; - 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5E342B11DDD91D2A8D5CEC382A58F29D /* Build configuration list for PBXNativeTarget "Starscream" */; - buildPhases = ( - 3CBD0F9C48772E87C2F80436B70E099E /* Headers */, - 3CBD844312542615DF274F62D22D823A /* Sources */, - 22579CC44F871C4C542FC182B991B33C /* Frameworks */, - 6D93F8ECBEC0B1B601F31CAB9D03FAA2 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Starscream; - productName = Starscream; - productReference = 891B2270823847ED23F2ECFC28F935EC /* Starscream */; - productType = "com.apple.product-type.framework"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ BFDFE7DC352907FC980B868725387E98 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 1300; - LastUpgradeCheck = 1300; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; }; buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 12.0"; @@ -711,7 +542,7 @@ en, ); mainGroup = CF1408CF629C7361332E53B88F7BD30C; - productRefGroup = 8A037C2DC441AE19C037C749BCBA7C8A /* Products */; + productRefGroup = B16B207E4901CC5619791EA16937602D /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( @@ -720,7 +551,6 @@ 74C5B4D6ADB79A78CB1D916FF8643908 /* Pods-AppSyncRTCSample */, 6EEF16DB9C03678478A914A8EF4798C9 /* Pods-HostApp */, 9785554C3AC8196C58B3F36D51C5DF3E /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests */, - 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */, 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */, 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */, ); @@ -728,42 +558,35 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 26935D80C28F7B151C9905739FB71830 /* Resources */ = { + 1EA90D1ADE8EAFE71AC205BA4A15DD48 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 6D93F8ECBEC0B1B601F31CAB9D03FAA2 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A8A642146702F3A9E14355D4ADFDA411 /* Resources */ = { + 26935D80C28F7B151C9905739FB71830 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - B10206F2F62A1FEC27351A90110B285E /* Resources */ = { + 46BCE073307B5E18396D1E51726B099E /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - D2E2F3075246EDD52347CB09EAF33455 /* Resources */ = { + 64D57B2FAB4374F4FAAC123FBA85B277 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - E2617F427D527107E1AA86CF708F57F4 /* Resources */ = { + 661EBF84A6A83E297B967641BAF9E9BB /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -773,31 +596,11 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 3CBD844312542615DF274F62D22D823A /* Sources */ = { + 0F8D56FB381D4F63C02175E03FBBF6A7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - DFA2736CE4B16FD4D82450863EC58507 /* Compression.swift in Sources */, - 631654C419F62FE0270E1DF79CCF6F8B /* Data+Extensions.swift in Sources */, - FAFD54F649DC5D69DD05D517A0131968 /* Engine.swift in Sources */, - 4AB6FCF35B998F60ED9EB100542EEA31 /* FoundationHTTPHandler.swift in Sources */, - 5006DD4B60A05AF56EA0706A680BABF6 /* FoundationHTTPServerHandler.swift in Sources */, - 5281197FE8CC6E6954315F11B8F553D0 /* FoundationSecurity.swift in Sources */, - 489EF4A7D4992C47CF590AEF9AA418FC /* FoundationTransport.swift in Sources */, - EB5C3537AD21658D3EC873A4A4AFDE30 /* FrameCollector.swift in Sources */, - CC235941F0CF9FA8C0FA3323A0D18203 /* Framer.swift in Sources */, - 7DDEA2F73F2A02D88D5164B46BA2C7E8 /* HTTPHandler.swift in Sources */, - C28A0006DD1C9AB062763C8FA2B3F93D /* NativeEngine.swift in Sources */, - 69A591F2BDE4941B391C102F4C26B115 /* Security.swift in Sources */, - DF9BE4B3E95B007977780C9EFDA3EFBE /* Server.swift in Sources */, - 3A655D6817E99F062266BB601B0EEEDF /* Starscream-dummy.m in Sources */, - 046AC7AA224C78A31C0A8FACB11D2D28 /* StringHTTPHandler.swift in Sources */, - 6C0DACBE00A34619DEDB9A65CB959BA5 /* TCPTransport.swift in Sources */, - 4A3B1BE129FDA231AC217E1C6DB2B8C8 /* Transport.swift in Sources */, - B44349C69B2C0AF407B678B20DC9CB80 /* WebSocket.swift in Sources */, - 3F3E9C6FF4BCB6F4FF18D9121CC3E42F /* WebSocketServer.swift in Sources */, - FA2A3CCAE01CF0108D2FDB7C8108B988 /* WSCompression.swift in Sources */, - BB056B9351B1BE41C2703393F69623DD /* WSEngine.swift in Sources */, + 67AE82EC45F02431A636B2EDB65A8CBC /* Pods-AppSyncRTCSample-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -809,119 +612,87 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 547C755DB71131A7D4D1A1A63917E21F /* Sources */ = { + 8EAEE416793277402847A86155BB28D7 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 3156934B75D62B205598A5B9C8E2FF87 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m in Sources */, + 3215C79A39E093A06CFADD1C676186EF /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 651FA75AB70E58168374397D7E18174A /* Sources */ = { + 9CD016DDD78A88B05377A39E92464166 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 49C23C2D785C0C110AA02FC70CBA65DB /* Pods-AppSyncRealTimeClient-dummy.m in Sources */, + 89571EBB6ECBFFF6F17FF9301FA19E94 /* Pods-AppSyncRealTimeClient-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 6EFBDDE582C4D18A00287D1A010224C7 /* Sources */ = { + EAFC1B2BA3D5C27FC1A1C35CCA2965C3 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - A7F27212C7EB02BEB996BB85C98BE617 /* Pods-AppSyncRTCSample-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 869CF81BD27DF4A7A7F916F2178842C8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5DA1BA241D8699925A6865F97C4A6891 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m in Sources */, + 74409405F7E5B38E9FCD0BC33A2BD292 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 0B525E8757E6CA36B2703BEA3844655A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SwiftFormat; - target = 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */; - targetProxy = 60EE22495C2A80B673CF4A59B1793E7D /* PBXContainerItemProxy */; - }; - 16B8FEF86C17F058C7F7AF2E13757CAC /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SwiftLint; - target = 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */; - targetProxy = 5EE800E8F6DEB44F2A75FED3E4E91F5B /* PBXContainerItemProxy */; - }; - 18DE0F11690F08A3777547966BDC3039 /* PBXTargetDependency */ = { + 0B3126F4129F792C8635E7FD8762DBE7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftFormat; target = 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */; - targetProxy = 5E72E41C284670928C742C9E29B2FDF5 /* PBXContainerItemProxy */; + targetProxy = B1789FAB3BCA4C32AF7AD876DB04B5BC /* PBXContainerItemProxy */; }; - 44AE4800F55BE63A267A21680DB9322D /* PBXTargetDependency */ = { + 346511FD1B511450CA8F19F545BF8E70 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftFormat; target = 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */; - targetProxy = F16074CA1F08041DB4A55FBAB3C22734 /* PBXContainerItemProxy */; + targetProxy = B8AE6CFF9FA6852EE1DA157A4C6BFDA5 /* PBXContainerItemProxy */; }; - 50FF195B0516037C88D626A9853D7713 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Starscream; - target = 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */; - targetProxy = 5CE5E0F974526340626EC7D75595E4E0 /* PBXContainerItemProxy */; - }; - 9D501468C8D35CAA9F50DDCD920DBFC1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Starscream; - target = 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */; - targetProxy = 09B2D7C1F2B55E4A125AF24657E2EFB1 /* PBXContainerItemProxy */; - }; - A39DAEEEF1AE8225597415A38BB5FF63 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Starscream; - target = 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */; - targetProxy = 4E1BAB69CEE845D714318CA2A7066F4A /* PBXContainerItemProxy */; - }; - AAAEC904946AC8ACBA6EC282B2C5526D /* PBXTargetDependency */ = { + 359E0346D7780EFD5F1DFCEF8222D3CA /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftLint; target = 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */; - targetProxy = 06BB8ADDB6B27DD8A727DA13C2091908 /* PBXContainerItemProxy */; + targetProxy = FFD6091259B3EC79C68DF7E397529E34 /* PBXContainerItemProxy */; }; - DC319EC4A174CDC315D80378A5C28B30 /* PBXTargetDependency */ = { + 62EDC54F19D3F819D993F21765952EFF /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftLint; target = 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */; - targetProxy = EE43AF49FAD18350DD69F4E4FCB87B0F /* PBXContainerItemProxy */; + targetProxy = 42E0B7DD20069247421131106AC18990 /* PBXContainerItemProxy */; }; - E7366048951920E7C08A15F36932050A /* PBXTargetDependency */ = { + 783A195F0AD003643C1EF15692599B99 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftLint; target = 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */; - targetProxy = B916E8066AE5CDA0E7549B206D4471B4 /* PBXContainerItemProxy */; + targetProxy = 4BFAAEF5FF674DE127CE9543520F1ECC /* PBXContainerItemProxy */; + }; + B6CA1A27E2EEADEBD0C1653E9B0C56BA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SwiftFormat; + target = 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */; + targetProxy = C2CDA8DBC2C0CB6A95BBF6C48B27C7F3 /* PBXContainerItemProxy */; }; - F6395EE8939D653684CD10CEFF01DCAE /* PBXTargetDependency */ = { + C26505D885CF67FB629134B151EABA53 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = Starscream; - target = 9B78EE4AF6AE03E79D88886319853FF7 /* Starscream */; - targetProxy = 862B4B92298ED5F63A5C8737BF57D389 /* PBXContainerItemProxy */; + name = SwiftLint; + target = 52B60EC2A583F24ACBB69C113F5488B9 /* SwiftLint */; + targetProxy = FC3C0C715DAA581F633A6493C9FB8380 /* PBXContainerItemProxy */; }; - FFA5650287A25891EF030A97F2EB28C9 /* PBXTargetDependency */ = { + D8446F3AD84E026095D626EEFF511306 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = SwiftFormat; target = 1CD0618C486973D5588EF20D2E8C0AEA /* SwiftFormat */; - targetProxy = 56098D93FCA28F09DBFCC3DCFF662327 /* PBXContainerItemProxy */; + targetProxy = 0E3F0EBDDAFC35E12DF01EFC6D9CCF54 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ 1CF56FC0C82E16D08DB501B46289BAA1 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3FD3D578DE7FE4DE0500419C58D45EB7 /* Pods-HostApp.release.xcconfig */; + baseConfigurationReference = 755F1DE516742550CCF90EAE3A9AA70E /* Pods-HostApp.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1022,9 +793,9 @@ }; name = Debug; }; - 280A2FB0FCF2AF77DD0E07FEFA964E89 /* Release */ = { + 519328FC8A45D5B4681AF0B4B6E2101F /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 422F3A44E627544820F8ABE6B3970EB8 /* Pods-AppSyncRealTimeClient.release.xcconfig */; + baseConfigurationReference = 5A64869DA26D6DC87A05E2728FCCBBC2 /* Pods-AppSyncRTCSample.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1035,7 +806,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1044,7 +815,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1053,15 +824,14 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 6034D4D92C04BCA30C300F2D63F5B726 /* Debug */ = { + 77A89479121547AA5329FED29D50F274 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EF215971A0AC1B1AFAF6E20BC75399E3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */; + baseConfigurationReference = 6FF0BC2FC8256643297AFF2E952B7FCB /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1072,7 +842,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1081,7 +851,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1090,50 +860,32 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 69BA06B3506D8BA4E90B4D73FBDC2693 /* Debug */ = { + 8DEF60E8A61723230ABCDDDD8B05F224 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FA2FBC1398CA557C7C4333EBDF94EB76 /* Pods-AppSyncRealTimeClient.debug.xcconfig */; + baseConfigurationReference = 085F1E7EC2C800801564BAC6A1CCF8E0 /* SwiftFormat.release.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", - "@loader_path/Frameworks", ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; - SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; + VALIDATE_PRODUCT = YES; }; - name = Debug; + name = Release; }; - 6BD65E4348471683D60D071A997CCBB9 /* Debug */ = { + 96A1F448F20C32FC078FF22CDFF73BDE /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6ECF0AAE9F323948CD48B3C3A6738380 /* Pods-AppSyncRTCSample.debug.xcconfig */; + baseConfigurationReference = 9E6B2E58FEAD9797872D6103099E626E /* Pods-HostApp.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1144,7 +896,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-HostApp/Pods-HostApp-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1153,7 +905,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-HostApp/Pods-HostApp.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1167,43 +919,26 @@ }; name = Debug; }; - 89DDD25DB9130670FEDC5E0AD0F46AE7 /* Debug */ = { + AD81E62ACCB0B7A923FC8AA288F9921E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A9735D953EBECD0EBC3C1D3EC8BCAFFC /* Starscream.debug.xcconfig */; + baseConfigurationReference = 2B5810D5C227D57CF24E64C3880097BB /* SwiftLint.release.xcconfig */; buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/Starscream/Starscream-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Starscream/Starscream-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", - "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/Starscream/Starscream.modulemap"; - PRODUCT_MODULE_NAME = Starscream; - PRODUCT_NAME = Starscream; SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; + VALIDATE_PRODUCT = YES; }; - name = Debug; + name = Release; }; - 8DEF60E8A61723230ABCDDDD8B05F224 /* Release */ = { + B4D735C278D065C9DB708F250D0B915D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1E6FB18A133A55AEF2676257477E2BC6 /* SwiftFormat.release.xcconfig */; + baseConfigurationReference = 57BDC9D734A1086E2EDC6B6D8E557FE1 /* SwiftFormat.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -1214,13 +949,12 @@ ); SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; }; - name = Release; + name = Debug; }; - 96A1F448F20C32FC078FF22CDFF73BDE /* Debug */ = { + BE50EB7A144C9AD0F7F60542CA31AF24 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 174519BFBCA8DC0E354AF1AB53B8650C /* Pods-HostApp.debug.xcconfig */; + baseConfigurationReference = B9DA30DE3CE247F7D1A8A695649B412B /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1231,7 +965,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-HostApp/Pods-HostApp-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1240,7 +974,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-HostApp/Pods-HostApp.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1254,9 +988,71 @@ }; name = Debug; }; - 99FB9CF6AAD80427E8BD8A8FDD6B7C1E /* Release */ = { + CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CBD288DBC23116B89AEE85DE391FA5F1 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + 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_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=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 = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + CB1212765E943CF69D8D9B68E0FA09AC /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 00431BD28D70939C15801EB6E69397B6 /* Pods-AppSyncRealTimeClient.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1267,7 +1063,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1276,7 +1072,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1285,15 +1081,14 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - A2D81D764443440850CD12659BAA7370 /* Release */ = { + D27B42156085E3F291BEAB779F00CEF6 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0C41223EE05E190DCA6549742F79399F /* Pods-AppSyncRTCSample.release.xcconfig */; + baseConfigurationReference = 8B6CAEAECAA96CE17DADFC639E532365 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1304,7 +1099,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1313,7 +1108,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1328,26 +1123,9 @@ }; name = Release; }; - AD81E62ACCB0B7A923FC8AA288F9921E /* Release */ = { + D42DAE051D7BE46673D2E3A3D9F7F2DD /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = DFAB773151BA1C1F2F4B68EBDE223BA5 /* SwiftLint.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - B22D60E18099B28BD2A2E70223BAA8F1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 999D7A0732B0168D9EB631C456DEC8A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */; + baseConfigurationReference = FB272BFC64E2E5F03B1BBCE9A36CD548 /* Pods-AppSyncRTCSample.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1358,7 +1136,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1367,7 +1145,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1382,88 +1160,11 @@ }; name = Release; }; - B4D735C278D065C9DB708F250D0B915D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D999E258E54C8B9C1FD75659EC9F1DFA /* SwiftFormat.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=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 = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - CC66474D42F4DE32770AC3115C19B7CA /* Release */ = { + D81261B0918BA6D4F216FE82ECC8706C /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 9B273836AFE7E07EE713B29F94B54285 /* Starscream.release.xcconfig */; + baseConfigurationReference = B181F8A70D8DEBF23F3E3E922CDA4712 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1472,32 +1173,32 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/Starscream/Starscream-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Starscream/Starscream-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/Starscream/Starscream.modulemap"; - PRODUCT_MODULE_NAME = Starscream; - PRODUCT_NAME = Starscream; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - E2E568FC27FC52F5F44FA1C535EC843A /* Debug */ = { + E1E18FBF465BF948B16883DBAF6D6BDC /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B50EC21E064304AF394DE66ABDF70559 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */; + baseConfigurationReference = 9B469865C41A32F823B6DA81CC257F33 /* Pods-AppSyncRealTimeClient.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1508,7 +1209,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1517,7 +1218,7 @@ "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.modulemap"; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1526,14 +1227,15 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; EADD1F50ABC8096A0D6CB18822BB4EE4 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C56CA9A1C0E06E53913BBA31CEE13A31 /* SwiftLint.debug.xcconfig */; + baseConfigurationReference = ED482D20A3F2EF0BF6D78F3F998E5D3C /* SwiftLint.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -1550,20 +1252,11 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 0EE2BD7DE65D1E994ACC3ADE7D518289 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient" */ = { + 23586B07F049A69C0DA26C165617C588 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 69BA06B3506D8BA4E90B4D73FBDC2693 /* Debug */, - 280A2FB0FCF2AF77DD0E07FEFA964E89 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 446A753797FBF42F388F8ECE017D276B /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - E2E568FC27FC52F5F44FA1C535EC843A /* Debug */, - B22D60E18099B28BD2A2E70223BAA8F1 /* Release */, + BE50EB7A144C9AD0F7F60542CA31AF24 /* Debug */, + 77A89479121547AA5329FED29D50F274 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1577,15 +1270,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 5E342B11DDD91D2A8D5CEC382A58F29D /* Build configuration list for PBXNativeTarget "Starscream" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 89DDD25DB9130670FEDC5E0AD0F46AE7 /* Debug */, - CC66474D42F4DE32770AC3115C19B7CA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 6B2B7DF197DF6A7CA487150557230A41 /* Build configuration list for PBXAggregateTarget "SwiftFormat" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -1595,20 +1279,20 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 7C41A6B80DF6BE57E362AF79449FF7CB /* Build configuration list for PBXNativeTarget "Pods-HostApp-AppSyncRealTimeClientIntegrationTests" */ = { + 9BD317483CC7E8E60D52606A0E113B2B /* Build configuration list for PBXNativeTarget "Pods-AppSyncRTCSample" */ = { isa = XCConfigurationList; buildConfigurations = ( - 6034D4D92C04BCA30C300F2D63F5B726 /* Debug */, - 99FB9CF6AAD80427E8BD8A8FDD6B7C1E /* Release */, + 519328FC8A45D5B4681AF0B4B6E2101F /* Debug */, + D42DAE051D7BE46673D2E3A3D9F7F2DD /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - A86328A17F73E6E03858AEBF2FABB48D /* Build configuration list for PBXNativeTarget "Pods-AppSyncRTCSample" */ = { + AD614B4F9F71EE72DC2EF65143873CC8 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient" */ = { isa = XCConfigurationList; buildConfigurations = ( - 6BD65E4348471683D60D071A997CCBB9 /* Debug */, - A2D81D764443440850CD12659BAA7370 /* Release */, + CB1212765E943CF69D8D9B68E0FA09AC /* Debug */, + E1E18FBF465BF948B16883DBAF6D6BDC /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1631,6 +1315,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + E56148569DAB76048CFC771073466E6B /* Build configuration list for PBXNativeTarget "Pods-HostApp-AppSyncRealTimeClientIntegrationTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D81261B0918BA6D4F216FE82ECC8706C /* Debug */, + D27B42156085E3F291BEAB779F00CEF6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; diff --git a/Pods/Starscream/LICENSE b/Pods/Starscream/LICENSE deleted file mode 100644 index d6ab2f1f..00000000 --- a/Pods/Starscream/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/Pods/Starscream/README.md b/Pods/Starscream/README.md deleted file mode 100644 index 634723aa..00000000 --- a/Pods/Starscream/README.md +++ /dev/null @@ -1,308 +0,0 @@ -![starscream](https://raw.githubusercontent.com/daltoniam/starscream/assets/starscream.jpg) - -Starscream is a conforming WebSocket ([RFC 6455](http://tools.ietf.org/html/rfc6455)) library in Swift. - -## Features - -- Conforms to all of the base [Autobahn test suite](https://crossbar.io/autobahn/). -- Nonblocking. Everything happens in the background, thanks to GCD. -- TLS/WSS support. -- Compression Extensions support ([RFC 7692](https://tools.ietf.org/html/rfc7692)) - -### Import the framework - -First thing is to import the framework. See the Installation instructions on how to add the framework to your project. - -```swift -import Starscream -``` - -### Connect to the WebSocket Server - -Once imported, you can open a connection to your WebSocket server. Note that `socket` is probably best as a property, so it doesn't get deallocated right after being setup. - -```swift -var request = URLRequest(url: URL(string: "http://localhost:8080")!) -request.timeoutInterval = 5 -socket = WebSocket(request: request) -socket.delegate = self -socket.connect() -``` - -After you are connected, there is either a delegate or closure you can use for process WebSocket events. - -### Receiving data from a WebSocket - -`didReceive` receives all the WebSocket events in a single easy to handle enum. - -```swift -func didReceive(event: WebSocketEvent, client: WebSocket) { - switch event { - case .connected(let headers): - isConnected = true - print("websocket is connected: \(headers)") - case .disconnected(let reason, let code): - isConnected = false - print("websocket is disconnected: \(reason) with code: \(code)") - case .text(let string): - print("Received text: \(string)") - case .binary(let data): - print("Received data: \(data.count)") - case .ping(_): - break - case .pong(_): - break - case .viabilityChanged(_): - break - case .reconnectSuggested(_): - break - case .cancelled: - isConnected = false - case .error(let error): - isConnected = false - handleError(error) - } -} -``` - -The closure of this would be: - -```swift -socket.onEvent = { event in - switch event { - // handle events just like above... - } -} -``` - -### Writing to a WebSocket - -### write a binary frame - -The writeData method gives you a simple way to send `Data` (binary) data to the server. - -```swift -socket.write(data: data) //write some Data over the socket! -``` - -### write a string frame - -The writeString method is the same as writeData, but sends text/string. - -```swift -socket.write(string: "Hi Server!") //example on how to write text over the socket! -``` - -### write a ping frame - -The writePing method is the same as write, but sends a ping control frame. - -```swift -socket.write(ping: Data()) //example on how to write a ping control frame over the socket! -``` - -### write a pong frame - - -the writePong method is the same as writePing, but sends a pong control frame. - -```swift -socket.write(pong: Data()) //example on how to write a pong control frame over the socket! -``` - -Starscream will automatically respond to incoming `ping` control frames so you do not need to manually send `pong`s. - -However if for some reason you need to control this process you can turn off the automatic `ping` response by disabling `respondToPingWithPong`. - -```swift -socket.respondToPingWithPong = false //Do not automaticaly respond to incoming pings with pongs. -``` - -In most cases you will not need to do this. - -### disconnect - -The disconnect method does what you would expect and closes the socket. - -```swift -socket.disconnect() -``` - -The disconnect method can also send a custom close code if desired. - -```swift -socket.disconnect(closeCode: CloseCode.normal.rawValue) -``` - -### Custom Headers, Protocols and Timeout - -You can override the default websocket headers, add your own custom ones and set a timeout: - -```swift -var request = URLRequest(url: URL(string: "ws://localhost:8080/")!) -request.timeoutInterval = 5 // Sets the timeout for the connection -request.setValue("someother protocols", forHTTPHeaderField: "Sec-WebSocket-Protocol") -request.setValue("14", forHTTPHeaderField: "Sec-WebSocket-Version") -request.setValue("chat,superchat", forHTTPHeaderField: "Sec-WebSocket-Protocol") -request.setValue("Everything is Awesome!", forHTTPHeaderField: "My-Awesome-Header") -let socket = WebSocket(request: request) -``` - -### SSL Pinning - -SSL Pinning is also supported in Starscream. - - -Allow Self-signed certificates: - -```swift -var request = URLRequest(url: URL(string: "ws://localhost:8080/")!) -let pinner = FoundationSecurity(allowSelfSigned: true) // don't validate SSL certificates -let socket = WebSocket(request: request, certPinner: pinner) -``` - -TODO: Update docs on how to load certificates and public keys into an app bundle, use the builtin pinner and TrustKit. - -### Compression Extensions - -Compression Extensions ([RFC 7692](https://tools.ietf.org/html/rfc7692)) is supported in Starscream. Compression is enabled by default, however compression will only be used if it is supported by the server as well. You may enable or disable compression via the `.enableCompression` property: - -```swift -var request = URLRequest(url: URL(string: "ws://localhost:8080/")!) -let compression = WSCompression() -let socket = WebSocket(request: request, compressionHandler: compression) -``` - -Compression should be disabled if your application is transmitting already-compressed, random, or other uncompressable data. - -### Custom Queue - -A custom queue can be specified when delegate methods are called. By default `DispatchQueue.main` is used, thus making all delegate methods calls run on the main thread. It is important to note that all WebSocket processing is done on a background thread, only the delegate method calls are changed when modifying the queue. The actual processing is always on a background thread and will not pause your app. - -```swift -socket = WebSocket(url: URL(string: "ws://localhost:8080/")!, protocols: ["chat","superchat"]) -//create a custom queue -socket.callbackQueue = DispatchQueue(label: "com.vluxe.starscream.myapp") -``` - -## Example Project - -Check out the SimpleTest project in the examples directory to see how to setup a simple connection to a WebSocket server. - -## Requirements - -Starscream works with iOS 8/10.10 or above for CocoaPods/framework support. To use Starscream with a project targeting iOS 7, you must include all Swift files directly in your project. - -## Installation - -### CocoaPods - -Check out [Get Started](http://cocoapods.org/) tab on [cocoapods.org](http://cocoapods.org/). - -To use Starscream in your project add the following 'Podfile' to your project - - source 'https://github.com/CocoaPods/Specs.git' - platform :ios, '9.0' - use_frameworks! - - pod 'Starscream', '~> 4.0.0' - -Then run: - - pod install - -### Carthage - -Check out the [Carthage](https://github.com/Carthage/Carthage) docs on how to add a install. The `Starscream` framework is already setup with shared schemes. - -[Carthage Install](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) - -You can install Carthage with [Homebrew](http://brew.sh/) using the following command: - -```bash -$ brew update -$ brew install carthage -``` - -To integrate Starscream into your Xcode project using Carthage, specify it in your `Cartfile`: - -``` -github "daltoniam/Starscream" >= 4.0.0 -``` - -### Accio - -Check out the [Accio](https://github.com/JamitLabs/Accio) docs on how to add a install. - -Add the following to your Package.swift: - -```swift -.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.0")), -``` - -Next, add `Starscream` to your App targets dependencies like so: - -```swift -.target( - name: "App", - dependencies: [ - "Starscream", - ] -), -``` - -Then run `accio update`. - -### Rogue - -First see the [installation docs](https://github.com/acmacalister/Rogue) for how to install Rogue. - -To install Starscream run the command below in the directory you created the rogue file. - -``` -rogue add https://github.com/daltoniam/Starscream -``` - -Next open the `libs` folder and add the `Starscream.xcodeproj` to your Xcode project. Once that is complete, in your "Build Phases" add the `Starscream.framework` to your "Link Binary with Libraries" phase. Make sure to add the `libs` folder to your `.gitignore` file. - -### Swift Package Manager - -The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. - -Once you have your Swift package set up, adding Starscream as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`. - -```swift -dependencies: [ - .Package(url: "https://github.com/daltoniam/Starscream.git", majorVersion: 4) -] -``` - -### Other - -Simply grab the framework (either via git submodule or another package manager). - -Add the `Starscream.xcodeproj` to your Xcode project. Once that is complete, in your "Build Phases" add the `Starscream.framework` to your "Link Binary with Libraries" phase. - -### Add Copy Frameworks Phase - -If you are running this in an OSX app or on a physical iOS device you will need to make sure you add the `Starscream.framework` to be included in your app bundle. To do this, in Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar. In the tab bar at the top of that window, open the "Build Phases" panel. Expand the "Link Binary with Libraries" group, and add `Starscream.framework`. Click on the + button at the top left of the panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add `Starscream.framework` respectively. - -## TODOs - -- [ ] Proxy support - -## License - -Starscream is licensed under the Apache v2 License. - -## Contact - -### Dalton Cherry -* https://github.com/daltoniam -* http://twitter.com/daltoniam -* http://daltoniam.com - -### Austin Cherry ### -* https://github.com/acmacalister -* http://twitter.com/acmacalister -* http://austincherry.me diff --git a/Pods/Starscream/Sources/Compression/Compression.swift b/Pods/Starscream/Sources/Compression/Compression.swift deleted file mode 100644 index 0e7fae5a..00000000 --- a/Pods/Starscream/Sources/Compression/Compression.swift +++ /dev/null @@ -1,29 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Compression.swift -// Starscream -// -// Created by Dalton Cherry on 2/4/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public protocol CompressionHandler { - func load(headers: [String: String]) - func decompress(data: Data, isFinal: Bool) -> Data? - func compress(data: Data) -> Data? -} diff --git a/Pods/Starscream/Sources/Compression/WSCompression.swift b/Pods/Starscream/Sources/Compression/WSCompression.swift deleted file mode 100644 index 21295841..00000000 --- a/Pods/Starscream/Sources/Compression/WSCompression.swift +++ /dev/null @@ -1,247 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// WSCompression.swift -// -// Created by Joseph Ross on 7/16/14. -// Copyright © 2017 Joseph Ross & Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Compression implementation is implemented in conformance with RFC 7692 Compression Extensions -// for WebSocket: https://tools.ietf.org/html/rfc7692 -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation -import zlib - -public class WSCompression: CompressionHandler { - let headerWSExtensionName = "Sec-WebSocket-Extensions" - var decompressor: Decompressor? - var compressor: Compressor? - var decompressorTakeOver = false - var compressorTakeOver = false - - public init() { - - } - - public func load(headers: [String: String]) { - guard let extensionHeader = headers[headerWSExtensionName] else { return } - decompressorTakeOver = false - compressorTakeOver = false - - let parts = extensionHeader.components(separatedBy: ";") - for p in parts { - let part = p.trimmingCharacters(in: .whitespaces) - if part.hasPrefix("server_max_window_bits=") { - let valString = part.components(separatedBy: "=")[1] - if let val = Int(valString.trimmingCharacters(in: .whitespaces)) { - decompressor = Decompressor(windowBits: val) - } - } else if part.hasPrefix("client_max_window_bits=") { - let valString = part.components(separatedBy: "=")[1] - if let val = Int(valString.trimmingCharacters(in: .whitespaces)) { - compressor = Compressor(windowBits: val) - } - } else if part == "client_no_context_takeover" { - compressorTakeOver = true - } else if part == "server_no_context_takeover" { - decompressorTakeOver = true - } - } - } - - public func decompress(data: Data, isFinal: Bool) -> Data? { - guard let decompressor = decompressor else { return nil } - do { - let decompressedData = try decompressor.decompress(data, finish: isFinal) - if decompressorTakeOver { - try decompressor.reset() - } - return decompressedData - } catch { - //do nothing with the error for now - } - return nil - } - - public func compress(data: Data) -> Data? { - guard let compressor = compressor else { return nil } - do { - let compressedData = try compressor.compress(data) - if compressorTakeOver { - try compressor.reset() - } - return compressedData - } catch { - //do nothing with the error for now - } - return nil - } - - -} - -class Decompressor { - private var strm = z_stream() - private var buffer = [UInt8](repeating: 0, count: 0x2000) - private var inflateInitialized = false - private let windowBits: Int - - init?(windowBits: Int) { - self.windowBits = windowBits - guard initInflate() else { return nil } - } - - private func initInflate() -> Bool { - if Z_OK == inflateInit2_(&strm, -CInt(windowBits), - ZLIB_VERSION, CInt(MemoryLayout.size)) - { - inflateInitialized = true - return true - } - return false - } - - func reset() throws { - teardownInflate() - guard initInflate() else { throw WSError(type: .compressionError, message: "Error for decompressor on reset", code: 0) } - } - - func decompress(_ data: Data, finish: Bool) throws -> Data { - return try data.withUnsafeBytes { (bytes: UnsafePointer) -> Data in - return try decompress(bytes: bytes, count: data.count, finish: finish) - } - } - - func decompress(bytes: UnsafePointer, count: Int, finish: Bool) throws -> Data { - var decompressed = Data() - try decompress(bytes: bytes, count: count, out: &decompressed) - - if finish { - let tail:[UInt8] = [0x00, 0x00, 0xFF, 0xFF] - try decompress(bytes: tail, count: tail.count, out: &decompressed) - } - - return decompressed - } - - private func decompress(bytes: UnsafePointer, count: Int, out: inout Data) throws { - var res: CInt = 0 - strm.next_in = UnsafeMutablePointer(mutating: bytes) - strm.avail_in = CUnsignedInt(count) - - repeat { - buffer.withUnsafeMutableBytes { (bufferPtr) in - strm.next_out = bufferPtr.bindMemory(to: UInt8.self).baseAddress - strm.avail_out = CUnsignedInt(bufferPtr.count) - - res = inflate(&strm, 0) - } - - let byteCount = buffer.count - Int(strm.avail_out) - out.append(buffer, count: byteCount) - } while res == Z_OK && strm.avail_out == 0 - - guard (res == Z_OK && strm.avail_out > 0) - || (res == Z_BUF_ERROR && Int(strm.avail_out) == buffer.count) - else { - throw WSError(type: .compressionError, message: "Error on decompressing", code: 0) - } - } - - private func teardownInflate() { - if inflateInitialized, Z_OK == inflateEnd(&strm) { - inflateInitialized = false - } - } - - deinit { - teardownInflate() - } -} - -class Compressor { - private var strm = z_stream() - private var buffer = [UInt8](repeating: 0, count: 0x2000) - private var deflateInitialized = false - private let windowBits: Int - - init?(windowBits: Int) { - self.windowBits = windowBits - guard initDeflate() else { return nil } - } - - private func initDeflate() -> Bool { - if Z_OK == deflateInit2_(&strm, Z_DEFAULT_COMPRESSION, Z_DEFLATED, - -CInt(windowBits), 8, Z_DEFAULT_STRATEGY, - ZLIB_VERSION, CInt(MemoryLayout.size)) - { - deflateInitialized = true - return true - } - return false - } - - func reset() throws { - teardownDeflate() - guard initDeflate() else { throw WSError(type: .compressionError, message: "Error for compressor on reset", code: 0) } - } - - func compress(_ data: Data) throws -> Data { - var compressed = Data() - var res: CInt = 0 - data.withUnsafeBytes { (ptr:UnsafePointer) -> Void in - strm.next_in = UnsafeMutablePointer(mutating: ptr) - strm.avail_in = CUnsignedInt(data.count) - - repeat { - buffer.withUnsafeMutableBytes { (bufferPtr) in - strm.next_out = bufferPtr.bindMemory(to: UInt8.self).baseAddress - strm.avail_out = CUnsignedInt(bufferPtr.count) - - res = deflate(&strm, Z_SYNC_FLUSH) - } - - let byteCount = buffer.count - Int(strm.avail_out) - compressed.append(buffer, count: byteCount) - } - while res == Z_OK && strm.avail_out == 0 - - } - - guard res == Z_OK && strm.avail_out > 0 - || (res == Z_BUF_ERROR && Int(strm.avail_out) == buffer.count) - else { - throw WSError(type: .compressionError, message: "Error on compressing", code: 0) - } - - compressed.removeLast(4) - return compressed - } - - private func teardownDeflate() { - if deflateInitialized, Z_OK == deflateEnd(&strm) { - deflateInitialized = false - } - } - - deinit { - teardownDeflate() - } -} diff --git a/Pods/Starscream/Sources/DataBytes/Data+Extensions.swift b/Pods/Starscream/Sources/DataBytes/Data+Extensions.swift deleted file mode 100644 index 1d0852d7..00000000 --- a/Pods/Starscream/Sources/DataBytes/Data+Extensions.swift +++ /dev/null @@ -1,53 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Data+Extensions.swift -// Starscream -// -// Created by Dalton Cherry on 3/27/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Fix for deprecation warnings -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -internal extension Data { - struct ByteError: Swift.Error {} - - #if swift(>=5.0) - func withUnsafeBytes(_ completion: (UnsafePointer) throws -> ResultType) rethrows -> ResultType { - return try withUnsafeBytes { - if let baseAddress = $0.baseAddress, $0.count > 0 { - return try completion(baseAddress.assumingMemoryBound(to: ContentType.self)) - } else { - throw ByteError() - } - } - } - #endif - - #if swift(>=5.0) - mutating func withUnsafeMutableBytes(_ completion: (UnsafeMutablePointer) throws -> ResultType) rethrows -> ResultType { - return try withUnsafeMutableBytes { - if let baseAddress = $0.baseAddress, $0.count > 0 { - return try completion(baseAddress.assumingMemoryBound(to: ContentType.self)) - } else { - throw ByteError() - } - } - } - #endif -} diff --git a/Pods/Starscream/Sources/Engine/Engine.swift b/Pods/Starscream/Sources/Engine/Engine.swift deleted file mode 100644 index a60ef7e8..00000000 --- a/Pods/Starscream/Sources/Engine/Engine.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// Engine.swift -// Starscream -// -// Created by Dalton Cherry on 6/15/19. -// Copyright © 2019 Vluxe. All rights reserved. -// - -import Foundation - -public protocol EngineDelegate: class { - func didReceive(event: WebSocketEvent) -} - -public protocol Engine { - func register(delegate: EngineDelegate) - func start(request: URLRequest) - func stop(closeCode: UInt16) - func forceStop() - func write(data: Data, opcode: FrameOpCode, completion: (() -> ())?) - func write(string: String, completion: (() -> ())?) -} diff --git a/Pods/Starscream/Sources/Engine/NativeEngine.swift b/Pods/Starscream/Sources/Engine/NativeEngine.swift deleted file mode 100644 index 7294e364..00000000 --- a/Pods/Starscream/Sources/Engine/NativeEngine.swift +++ /dev/null @@ -1,96 +0,0 @@ -// -// NativeEngine.swift -// Starscream -// -// Created by Dalton Cherry on 6/15/19. -// Copyright © 2019 Vluxe. All rights reserved. -// - -import Foundation - -@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) -public class NativeEngine: NSObject, Engine, URLSessionDataDelegate, URLSessionWebSocketDelegate { - private var task: URLSessionWebSocketTask? - weak var delegate: EngineDelegate? - - public func register(delegate: EngineDelegate) { - self.delegate = delegate - } - - public func start(request: URLRequest) { - let session = URLSession(configuration: URLSessionConfiguration.default, delegate: self, delegateQueue: nil) - task = session.webSocketTask(with: request) - doRead() - task?.resume() - } - - public func stop(closeCode: UInt16) { - let closeCode = URLSessionWebSocketTask.CloseCode(rawValue: Int(closeCode)) ?? .normalClosure - task?.cancel(with: closeCode, reason: nil) - } - - public func forceStop() { - stop(closeCode: UInt16(URLSessionWebSocketTask.CloseCode.abnormalClosure.rawValue)) - } - - public func write(string: String, completion: (() -> ())?) { - task?.send(.string(string), completionHandler: { (error) in - completion?() - }) - } - - public func write(data: Data, opcode: FrameOpCode, completion: (() -> ())?) { - switch opcode { - case .binaryFrame: - task?.send(.data(data), completionHandler: { (error) in - completion?() - }) - case .textFrame: - let text = String(data: data, encoding: .utf8)! - write(string: text, completion: completion) - case .ping: - task?.sendPing(pongReceiveHandler: { (error) in - completion?() - }) - default: - break //unsupported - } - } - - private func doRead() { - task?.receive { [weak self] (result) in - switch result { - case .success(let message): - switch message { - case .string(let string): - self?.broadcast(event: .text(string)) - case .data(let data): - self?.broadcast(event: .binary(data)) - @unknown default: - break - } - break - case .failure(let error): - self?.broadcast(event: .error(error)) - } - self?.doRead() - } - } - - private func broadcast(event: WebSocketEvent) { - delegate?.didReceive(event: event) - } - - public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) { - let p = `protocol` ?? "" - broadcast(event: .connected([HTTPWSHeader.protocolName: p])) - } - - public func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) { - var r = "" - if let d = reason { - r = String(data: d, encoding: .utf8) ?? "" - } - broadcast(event: .disconnected(r, UInt16(closeCode.rawValue))) - } -} diff --git a/Pods/Starscream/Sources/Engine/WSEngine.swift b/Pods/Starscream/Sources/Engine/WSEngine.swift deleted file mode 100644 index decca641..00000000 --- a/Pods/Starscream/Sources/Engine/WSEngine.swift +++ /dev/null @@ -1,234 +0,0 @@ -// -// WSEngine.swift -// Starscream -// -// Created by Dalton Cherry on 6/15/19. -// Copyright © 2019 Vluxe. All rights reserved. -// - -import Foundation - -public class WSEngine: Engine, TransportEventClient, FramerEventClient, -FrameCollectorDelegate, HTTPHandlerDelegate { - private let transport: Transport - private let framer: Framer - private let httpHandler: HTTPHandler - private let compressionHandler: CompressionHandler? - private let certPinner: CertificatePinning? - private let headerChecker: HeaderValidator - private var request: URLRequest! - - private let frameHandler = FrameCollector() - private var didUpgrade = false - private var secKeyValue = "" - private let writeQueue = DispatchQueue(label: "com.vluxe.starscream.writequeue") - private let mutex = DispatchSemaphore(value: 1) - private var canSend = false - - weak var delegate: EngineDelegate? - public var respondToPingWithPong: Bool = true - - public init(transport: Transport, - certPinner: CertificatePinning? = nil, - headerValidator: HeaderValidator = FoundationSecurity(), - httpHandler: HTTPHandler = FoundationHTTPHandler(), - framer: Framer = WSFramer(), - compressionHandler: CompressionHandler? = nil) { - self.transport = transport - self.framer = framer - self.httpHandler = httpHandler - self.certPinner = certPinner - self.headerChecker = headerValidator - self.compressionHandler = compressionHandler - framer.updateCompression(supports: compressionHandler != nil) - frameHandler.delegate = self - } - - public func register(delegate: EngineDelegate) { - self.delegate = delegate - } - - public func start(request: URLRequest) { - mutex.wait() - let isConnected = canSend - mutex.signal() - if isConnected { - return - } - - self.request = request - transport.register(delegate: self) - framer.register(delegate: self) - httpHandler.register(delegate: self) - frameHandler.delegate = self - guard let url = request.url else { - return - } - transport.connect(url: url, timeout: request.timeoutInterval, certificatePinning: certPinner) - } - - public func stop(closeCode: UInt16 = CloseCode.normal.rawValue) { - let capacity = MemoryLayout.size - var pointer = [UInt8](repeating: 0, count: capacity) - writeUint16(&pointer, offset: 0, value: closeCode) - let payload = Data(bytes: pointer, count: MemoryLayout.size) - write(data: payload, opcode: .connectionClose, completion: { [weak self] in - self?.reset() - self?.forceStop() - }) - } - - public func forceStop() { - transport.disconnect() - } - - public func write(string: String, completion: (() -> ())?) { - let data = string.data(using: .utf8)! - write(data: data, opcode: .textFrame, completion: completion) - } - - public func write(data: Data, opcode: FrameOpCode, completion: (() -> ())?) { - writeQueue.async { [weak self] in - guard let s = self else { return } - s.mutex.wait() - let canWrite = s.canSend - s.mutex.signal() - if !canWrite { - return - } - - var isCompressed = false - var sendData = data - if let compressedData = s.compressionHandler?.compress(data: data) { - sendData = compressedData - isCompressed = true - } - - let frameData = s.framer.createWriteFrame(opcode: opcode, payload: sendData, isCompressed: isCompressed) - s.transport.write(data: frameData, completion: {_ in - completion?() - }) - } - } - - // MARK: - TransportEventClient - - public func connectionChanged(state: ConnectionState) { - switch state { - case .connected: - secKeyValue = HTTPWSHeader.generateWebSocketKey() - let wsReq = HTTPWSHeader.createUpgrade(request: request, supportsCompression: framer.supportsCompression(), secKeyValue: secKeyValue) - let data = httpHandler.convert(request: wsReq) - transport.write(data: data, completion: {_ in }) - case .waiting: - break - case .failed(let error): - handleError(error) - case .viability(let isViable): - broadcast(event: .viabilityChanged(isViable)) - case .shouldReconnect(let status): - broadcast(event: .reconnectSuggested(status)) - case .receive(let data): - if didUpgrade { - framer.add(data: data) - } else { - let offset = httpHandler.parse(data: data) - if offset > 0 { - let extraData = data.subdata(in: offset.. Data? { - return compressionHandler?.decompress(data: data, isFinal: isFinal) - } - - public func didForm(event: FrameCollector.Event) { - switch event { - case .text(let string): - broadcast(event: .text(string)) - case .binary(let data): - broadcast(event: .binary(data)) - case .pong(let data): - broadcast(event: .pong(data)) - case .ping(let data): - broadcast(event: .ping(data)) - if respondToPingWithPong { - write(data: data ?? Data(), opcode: .pong, completion: nil) - } - case .closed(let reason, let code): - broadcast(event: .disconnected(reason, code)) - stop(closeCode: code) - case .error(let error): - handleError(error) - } - } - - private func broadcast(event: WebSocketEvent) { - delegate?.didReceive(event: event) - } - - //This call can be coming from a lot of different queues/threads. - //be aware of that when modifying shared variables - private func handleError(_ error: Error?) { - if let wsError = error as? WSError { - stop(closeCode: wsError.code) - } else { - stop() - } - - delegate?.didReceive(event: .error(error)) - } - - private func reset() { - mutex.wait() - canSend = false - didUpgrade = false - mutex.signal() - } - - -} diff --git a/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift b/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift deleted file mode 100644 index fb024aaa..00000000 --- a/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift +++ /dev/null @@ -1,123 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// FoundationHTTPHandler.swift -// Starscream -// -// Created by Dalton Cherry on 1/25/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation -#if os(watchOS) -public typealias FoundationHTTPHandler = StringHTTPHandler -#else -public class FoundationHTTPHandler: HTTPHandler { - - var buffer = Data() - weak var delegate: HTTPHandlerDelegate? - - public init() { - - } - - public func convert(request: URLRequest) -> Data { - let msg = CFHTTPMessageCreateRequest(kCFAllocatorDefault, request.httpMethod! as CFString, - request.url! as CFURL, kCFHTTPVersion1_1).takeRetainedValue() - if let headers = request.allHTTPHeaderFields { - for (aKey, aValue) in headers { - CFHTTPMessageSetHeaderFieldValue(msg, aKey as CFString, aValue as CFString) - } - } - if let body = request.httpBody { - CFHTTPMessageSetBody(msg, body as CFData) - } - guard let data = CFHTTPMessageCopySerializedMessage(msg) else { - return Data() - } - return data.takeRetainedValue() as Data - } - - public func parse(data: Data) -> Int { - let offset = findEndOfHTTP(data: data) - if offset > 0 { - buffer.append(data.subdata(in: 0.. Bool { - var pointer = [UInt8]() - data.withUnsafeBytes { pointer.append(contentsOf: $0) } - - let response = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, false).takeRetainedValue() - if !CFHTTPMessageAppendBytes(response, pointer, data.count) { - return false //not enough data, wait for more - } - if !CFHTTPMessageIsHeaderComplete(response) { - return false //not enough data, wait for more - } - - let code = CFHTTPMessageGetResponseStatusCode(response) - if code != HTTPWSHeader.switchProtocolCode { - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.notAnUpgrade(code))) - return true - } - - if let cfHeaders = CFHTTPMessageCopyAllHeaderFields(response) { - let nsHeaders = cfHeaders.takeRetainedValue() as NSDictionary - var headers = [String: String]() - for (key, value) in nsHeaders { - if let key = key as? String, let value = value as? String { - headers[key] = value - } - } - delegate?.didReceiveHTTP(event: .success(headers)) - return true - } - - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.invalidData)) - return true - } - - public func register(delegate: HTTPHandlerDelegate) { - self.delegate = delegate - } - - private func findEndOfHTTP(data: Data) -> Int { - let endBytes = [UInt8(ascii: "\r"), UInt8(ascii: "\n"), UInt8(ascii: "\r"), UInt8(ascii: "\n")] - var pointer = [UInt8]() - data.withUnsafeBytes { pointer.append(contentsOf: $0) } - var k = 0 - for i in 0.. Data { - #if os(watchOS) - //TODO: build response header - return Data() - #else - let response = CFHTTPMessageCreateResponse(kCFAllocatorDefault, HTTPWSHeader.switchProtocolCode, - nil, kCFHTTPVersion1_1).takeRetainedValue() - - //TODO: add other values to make a proper response here... - //TODO: also sec key thing (Sec-WebSocket-Key) - for (key, value) in headers { - CFHTTPMessageSetHeaderFieldValue(response, key as CFString, value as CFString) - } - guard let cfData = CFHTTPMessageCopySerializedMessage(response)?.takeRetainedValue() else { - return Data() - } - return cfData as Data - #endif - } - - public func parse(data: Data) { - buffer.append(data) - if parseContent(data: buffer) { - buffer = Data() - } - } - - //returns true when the buffer should be cleared - func parseContent(data: Data) -> Bool { - var pointer = [UInt8]() - data.withUnsafeBytes { pointer.append(contentsOf: $0) } - #if os(watchOS) - //TODO: parse data - return false - #else - let response = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, true).takeRetainedValue() - if !CFHTTPMessageAppendBytes(response, pointer, data.count) { - return false //not enough data, wait for more - } - if !CFHTTPMessageIsHeaderComplete(response) { - return false //not enough data, wait for more - } - if let method = CFHTTPMessageCopyRequestMethod(response)?.takeRetainedValue() { - if (method as NSString) != getVerb { - delegate?.didReceive(event: .failure(HTTPUpgradeError.invalidData)) - return true - } - } - - if let cfHeaders = CFHTTPMessageCopyAllHeaderFields(response) { - let nsHeaders = cfHeaders.takeRetainedValue() as NSDictionary - var headers = [String: String]() - for (key, value) in nsHeaders { - if let key = key as? String, let value = value as? String { - headers[key] = value - } - } - delegate?.didReceive(event: .success(headers)) - return true - } - - delegate?.didReceive(event: .failure(HTTPUpgradeError.invalidData)) - return true - #endif - } -} diff --git a/Pods/Starscream/Sources/Framer/FrameCollector.swift b/Pods/Starscream/Sources/Framer/FrameCollector.swift deleted file mode 100644 index 3ec1084c..00000000 --- a/Pods/Starscream/Sources/Framer/FrameCollector.swift +++ /dev/null @@ -1,107 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// FrameCollector.swift -// Starscream -// -// Created by Dalton Cherry on 1/24/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public protocol FrameCollectorDelegate: class { - func didForm(event: FrameCollector.Event) - func decompress(data: Data, isFinal: Bool) -> Data? -} - -public class FrameCollector { - public enum Event { - case text(String) - case binary(Data) - case pong(Data?) - case ping(Data?) - case error(Error) - case closed(String, UInt16) - } - weak var delegate: FrameCollectorDelegate? - var buffer = Data() - var frameCount = 0 - var isText = false //was the first frame a text frame or a binary frame? - var needsDecompression = false - - public func add(frame: Frame) { - //check single frame action and out of order frames - if frame.opcode == .connectionClose { - var code = frame.closeCode - var reason = "connection closed by server" - if let customCloseReason = String(data: frame.payload, encoding: .utf8) { - reason = customCloseReason - } else { - code = CloseCode.protocolError.rawValue - } - delegate?.didForm(event: .closed(reason, code)) - return - } else if frame.opcode == .pong { - delegate?.didForm(event: .pong(frame.payload)) - return - } else if frame.opcode == .ping { - delegate?.didForm(event: .ping(frame.payload)) - return - } else if frame.opcode == .continueFrame && frameCount == 0 { - let errCode = CloseCode.protocolError.rawValue - delegate?.didForm(event: .error(WSError(type: .protocolError, message: "first frame can't be a continue frame", code: errCode))) - reset() - return - } else if frameCount > 0 && frame.opcode != .continueFrame { - let errCode = CloseCode.protocolError.rawValue - delegate?.didForm(event: .error(WSError(type: .protocolError, message: "second and beyond of fragment message must be a continue frame", code: errCode))) - reset() - return - } - if frameCount == 0 { - isText = frame.opcode == .textFrame - needsDecompression = frame.needsDecompression - } - - let payload: Data - if needsDecompression { - payload = delegate?.decompress(data: frame.payload, isFinal: frame.isFin) ?? frame.payload - } else { - payload = frame.payload - } - buffer.append(payload) - frameCount += 1 - - if frame.isFin { - if isText { - if let string = String(data: buffer, encoding: .utf8) { - delegate?.didForm(event: .text(string)) - } else { - let errCode = CloseCode.protocolError.rawValue - delegate?.didForm(event: .error(WSError(type: .protocolError, message: "not valid UTF-8 data", code: errCode))) - } - } else { - delegate?.didForm(event: .binary(buffer)) - } - reset() - } - } - - func reset() { - buffer = Data() - frameCount = 0 - } -} diff --git a/Pods/Starscream/Sources/Framer/Framer.swift b/Pods/Starscream/Sources/Framer/Framer.swift deleted file mode 100644 index f77d5b80..00000000 --- a/Pods/Starscream/Sources/Framer/Framer.swift +++ /dev/null @@ -1,365 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Framer.swift -// Starscream -// -// Created by Dalton Cherry on 1/23/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -let FinMask: UInt8 = 0x80 -let OpCodeMask: UInt8 = 0x0F -let RSVMask: UInt8 = 0x70 -let RSV1Mask: UInt8 = 0x40 -let MaskMask: UInt8 = 0x80 -let PayloadLenMask: UInt8 = 0x7F -let MaxFrameSize: Int = 32 - -// Standard WebSocket close codes -public enum CloseCode: UInt16 { - case normal = 1000 - case goingAway = 1001 - case protocolError = 1002 - case protocolUnhandledType = 1003 - // 1004 reserved. - case noStatusReceived = 1005 - //1006 reserved. - case encoding = 1007 - case policyViolated = 1008 - case messageTooBig = 1009 -} - -public enum FrameOpCode: UInt8 { - case continueFrame = 0x0 - case textFrame = 0x1 - case binaryFrame = 0x2 - // 3-7 are reserved. - case connectionClose = 0x8 - case ping = 0x9 - case pong = 0xA - // B-F reserved. - case unknown = 100 -} - -public struct Frame { - let isFin: Bool - let needsDecompression: Bool - let isMasked: Bool - let opcode: FrameOpCode - let payloadLength: UInt64 - let payload: Data - let closeCode: UInt16 //only used by connectionClose opcode -} - -public enum FrameEvent { - case frame(Frame) - case error(Error) -} - -public protocol FramerEventClient: class { - func frameProcessed(event: FrameEvent) -} - -public protocol Framer { - func add(data: Data) - func register(delegate: FramerEventClient) - func createWriteFrame(opcode: FrameOpCode, payload: Data, isCompressed: Bool) -> Data - func updateCompression(supports: Bool) - func supportsCompression() -> Bool -} - -public class WSFramer: Framer { - private let queue = DispatchQueue(label: "com.vluxe.starscream.wsframer", attributes: []) - private weak var delegate: FramerEventClient? - private var buffer = Data() - public var compressionEnabled = false - private let isServer: Bool - - public init(isServer: Bool = false) { - self.isServer = isServer - } - - public func updateCompression(supports: Bool) { - compressionEnabled = supports - } - - public func supportsCompression() -> Bool { - return compressionEnabled - } - - enum ProcessEvent { - case needsMoreData - case processedFrame(Frame, Int) - case failed(Error) - } - - public func add(data: Data) { - queue.async { [weak self] in - self?.buffer.append(data) - while(true) { - let event = self?.process() ?? .needsMoreData - switch event { - case .needsMoreData: - return - case .processedFrame(let frame, let split): - guard let s = self else { return } - s.delegate?.frameProcessed(event: .frame(frame)) - if split >= s.buffer.count { - s.buffer = Data() - return - } - s.buffer = s.buffer.advanced(by: split) - case .failed(let error): - self?.delegate?.frameProcessed(event: .error(error)) - self?.buffer = Data() - return - } - } - } - } - - public func register(delegate: FramerEventClient) { - self.delegate = delegate - } - - private func process() -> ProcessEvent { - if buffer.count < 2 { - return .needsMoreData - } - var pointer = [UInt8]() - buffer.withUnsafeBytes { pointer.append(contentsOf: $0) } - - let isFin = (FinMask & pointer[0]) - let opcodeRawValue = (OpCodeMask & pointer[0]) - let opcode = FrameOpCode(rawValue: opcodeRawValue) ?? .unknown - let isMasked = (MaskMask & pointer[1]) - let payloadLen = (PayloadLenMask & pointer[1]) - let RSV1 = (RSVMask & pointer[0]) - var needsDecompression = false - - if compressionEnabled && opcode != .continueFrame { - needsDecompression = (RSV1Mask & pointer[0]) > 0 - } - if !isServer && (isMasked > 0 || RSV1 > 0) && opcode != .pong && !needsDecompression { - let errCode = CloseCode.protocolError.rawValue - return .failed(WSError(type: .protocolError, message: "masked and rsv data is not currently supported", code: errCode)) - } - let isControlFrame = (opcode == .connectionClose || opcode == .ping) - if !isControlFrame && (opcode != .binaryFrame && opcode != .continueFrame && - opcode != .textFrame && opcode != .pong) { - let errCode = CloseCode.protocolError.rawValue - return .failed(WSError(type: .protocolError, message: "unknown opcode: \(opcodeRawValue)", code: errCode)) - } - if isControlFrame && isFin == 0 { - let errCode = CloseCode.protocolError.rawValue - return .failed(WSError(type: .protocolError, message: "control frames can't be fragmented", code: errCode)) - } - - var offset = 2 - - if isControlFrame && payloadLen > 125 { - return .failed(WSError(type: .protocolError, message: "payload length is longer than allowed for a control frame", code: CloseCode.protocolError.rawValue)) - } - - var dataLength = UInt64(payloadLen) - var closeCode = CloseCode.normal.rawValue - if opcode == .connectionClose { - if payloadLen == 1 { - closeCode = CloseCode.protocolError.rawValue - dataLength = 0 - } else if payloadLen > 1 { - if pointer.count < 4 { - return .needsMoreData - } - let size = MemoryLayout.size - closeCode = pointer.readUint16(offset: offset) - offset += size - dataLength -= UInt64(size) - if closeCode < 1000 || (closeCode > 1003 && closeCode < 1007) || (closeCode > 1013 && closeCode < 3000) { - closeCode = CloseCode.protocolError.rawValue - } - } - } - - if payloadLen == 127 { - let size = MemoryLayout.size - if size + offset > pointer.count { - return .needsMoreData - } - dataLength = pointer.readUint64(offset: offset) - offset += size - } else if payloadLen == 126 { - let size = MemoryLayout.size - if size + offset > pointer.count { - return .needsMoreData - } - dataLength = UInt64(pointer.readUint16(offset: offset)) - offset += size - } - - let maskStart = offset - if isServer { - offset += MemoryLayout.size - } - - if dataLength > (pointer.count - offset) { - return .needsMoreData - } - - //I don't like this cast, but Data's count returns an Int. - //Might be a problem with huge payloads. Need to revisit. - let readDataLength = Int(dataLength) - - let payload: Data - if readDataLength == 0 { - payload = Data() - } else { - if isServer { - payload = pointer.unmaskData(maskStart: maskStart, offset: offset, length: readDataLength) - } else { - let end = offset + readDataLength - payload = Data(pointer[offset.. 0, needsDecompression: needsDecompression, isMasked: isMasked > 0, opcode: opcode, payloadLength: dataLength, payload: payload, closeCode: closeCode) - return .processedFrame(frame, offset) - } - - public func createWriteFrame(opcode: FrameOpCode, payload: Data, isCompressed: Bool) -> Data { - let payloadLength = payload.count - - let capacity = payloadLength + MaxFrameSize - var pointer = [UInt8](repeating: 0, count: capacity) - - //set the framing info - pointer[0] = FinMask | opcode.rawValue - if isCompressed { - pointer[0] |= RSV1Mask - } - - var offset = 2 //skip pass the framing info - if payloadLength < 126 { - pointer[1] = UInt8(payloadLength) - } else if payloadLength <= Int(UInt16.max) { - pointer[1] = 126 - writeUint16(&pointer, offset: offset, value: UInt16(payloadLength)) - offset += MemoryLayout.size - } else { - pointer[1] = 127 - writeUint64(&pointer, offset: offset, value: UInt64(payloadLength)) - offset += MemoryLayout.size - } - - //clients are required to mask the payload data, but server don't according to the RFC - if !isServer { - pointer[1] |= MaskMask - - //write the random mask key in - let maskKey: UInt32 = UInt32.random(in: 0...UInt32.max) - - writeUint32(&pointer, offset: offset, value: maskKey) - let maskStart = offset - offset += MemoryLayout.size - - //now write the payload data in - for i in 0...size)] - offset += 1 - } - } else { - for i in 0.. UInt16 { - return (UInt16(self[offset + 0]) << 8) | UInt16(self[offset + 1]) - } - - /** - Read a UInt64 from a buffer. - - parameter offset: is the offset index to start the read from (e.g. buffer[0], buffer[1], etc). - - returns: a UInt64 of the value from the buffer - */ - func readUint64(offset: Int) -> UInt64 { - var value = UInt64(0) - for i in 0...7 { - value = (value << 8) | UInt64(self[offset + i]) - } - return value - } - - func unmaskData(maskStart: Int, offset: Int, length: Int) -> Data { - var unmaskedBytes = [UInt8](repeating: 0, count: length) - let maskSize = MemoryLayout.size - for i in 0..> 8) - buffer[offset + 1] = UInt8(value & 0xff) -} - -/** - Write a UInt32 to the buffer. It fills the 4 array "slots" of the UInt8 array. - - parameter buffer: is the UInt8 array (pointer) to write the value too. - - parameter offset: is the offset index to start the write from (e.g. buffer[0], buffer[1], etc). - */ -public func writeUint32( _ buffer: inout [UInt8], offset: Int, value: UInt32) { - for i in 0...3 { - buffer[offset + i] = UInt8((value >> (8*UInt32(3 - i))) & 0xff) - } -} - -/** - Write a UInt64 to the buffer. It fills the 8 array "slots" of the UInt8 array. - - parameter buffer: is the UInt8 array (pointer) to write the value too. - - parameter offset: is the offset index to start the write from (e.g. buffer[0], buffer[1], etc). - */ -public func writeUint64( _ buffer: inout [UInt8], offset: Int, value: UInt64) { - for i in 0...7 { - buffer[offset + i] = UInt8((value >> (8*UInt64(7 - i))) & 0xff) - } -} diff --git a/Pods/Starscream/Sources/Framer/HTTPHandler.swift b/Pods/Starscream/Sources/Framer/HTTPHandler.swift deleted file mode 100644 index 70941e75..00000000 --- a/Pods/Starscream/Sources/Framer/HTTPHandler.swift +++ /dev/null @@ -1,148 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// HTTPHandler.swift -// Starscream -// -// Created by Dalton Cherry on 1/24/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum HTTPUpgradeError: Error { - case notAnUpgrade(Int) - case invalidData -} - -public struct HTTPWSHeader { - static let upgradeName = "Upgrade" - static let upgradeValue = "websocket" - static let hostName = "Host" - static let connectionName = "Connection" - static let connectionValue = "Upgrade" - static let protocolName = "Sec-WebSocket-Protocol" - static let versionName = "Sec-WebSocket-Version" - static let versionValue = "13" - static let extensionName = "Sec-WebSocket-Extensions" - static let keyName = "Sec-WebSocket-Key" - static let originName = "Origin" - static let acceptName = "Sec-WebSocket-Accept" - static let switchProtocolCode = 101 - static let defaultSSLSchemes = ["wss", "https"] - - /// Creates a new URLRequest based off the source URLRequest. - /// - Parameter request: the request to "upgrade" the WebSocket request by adding headers. - /// - Parameter supportsCompression: set if the client support text compression. - /// - Parameter secKeyName: the security key to use in the WebSocket request. https://tools.ietf.org/html/rfc6455#section-1.3 - /// - returns: A URLRequest request to be converted to data and sent to the server. - public static func createUpgrade(request: URLRequest, supportsCompression: Bool, secKeyValue: String) -> URLRequest { - guard let url = request.url, let parts = url.getParts() else { - return request - } - - var req = request - if request.value(forHTTPHeaderField: HTTPWSHeader.originName) == nil { - var origin = url.absoluteString - if let hostUrl = URL (string: "/", relativeTo: url) { - origin = hostUrl.absoluteString - origin.remove(at: origin.index(before: origin.endIndex)) - } - req.setValue(origin, forHTTPHeaderField: HTTPWSHeader.originName) - } - req.setValue(HTTPWSHeader.upgradeValue, forHTTPHeaderField: HTTPWSHeader.upgradeName) - req.setValue(HTTPWSHeader.connectionValue, forHTTPHeaderField: HTTPWSHeader.connectionName) - req.setValue(HTTPWSHeader.versionValue, forHTTPHeaderField: HTTPWSHeader.versionName) - req.setValue(secKeyValue, forHTTPHeaderField: HTTPWSHeader.keyName) - - if let cookies = HTTPCookieStorage.shared.cookies(for: url), !cookies.isEmpty { - let headers = HTTPCookie.requestHeaderFields(with: cookies) - for (key, val) in headers { - req.setValue(val, forHTTPHeaderField: key) - } - } - - if supportsCompression { - let val = "permessage-deflate; client_max_window_bits; server_max_window_bits=15" - req.setValue(val, forHTTPHeaderField: HTTPWSHeader.extensionName) - } - let hostValue = req.allHTTPHeaderFields?[HTTPWSHeader.hostName] ?? "\(parts.host):\(parts.port)" - req.setValue(hostValue, forHTTPHeaderField: HTTPWSHeader.hostName) - return req - } - - // generateWebSocketKey 16 random characters between a-z and return them as a base64 string - public static func generateWebSocketKey() -> String { - return Data((0..<16).map{ _ in UInt8.random(in: 97...122) }).base64EncodedString() - } -} - -public enum HTTPEvent { - case success([String: String]) - case failure(Error) -} - -public protocol HTTPHandlerDelegate: class { - func didReceiveHTTP(event: HTTPEvent) -} - -public protocol HTTPHandler { - func register(delegate: HTTPHandlerDelegate) - func convert(request: URLRequest) -> Data - func parse(data: Data) -> Int -} - -public protocol HTTPServerDelegate: class { - func didReceive(event: HTTPEvent) -} - -public protocol HTTPServerHandler { - func register(delegate: HTTPServerDelegate) - func parse(data: Data) - func createResponse(headers: [String: String]) -> Data -} - -public struct URLParts { - let port: Int - let host: String - let isTLS: Bool -} - -public extension URL { - /// isTLSScheme returns true if the scheme is https or wss - var isTLSScheme: Bool { - guard let scheme = self.scheme else { - return false - } - return HTTPWSHeader.defaultSSLSchemes.contains(scheme) - } - - /// getParts pulls host and port from the url. - func getParts() -> URLParts? { - guard let host = self.host else { - return nil // no host, this isn't a valid url - } - let isTLS = isTLSScheme - var port = self.port ?? 0 - if self.port == nil { - if isTLS { - port = 443 - } else { - port = 80 - } - } - return URLParts(port: port, host: host, isTLS: isTLS) - } -} diff --git a/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift b/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift deleted file mode 100644 index 33f5f9be..00000000 --- a/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift +++ /dev/null @@ -1,143 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// StringHTTPHandler.swift -// Starscream -// -// Created by Dalton Cherry on 8/25/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public class StringHTTPHandler: HTTPHandler { - - var buffer = Data() - weak var delegate: HTTPHandlerDelegate? - - public init() { - - } - - public func convert(request: URLRequest) -> Data { - guard let url = request.url else { - return Data() - } - - var path = url.absoluteString - let offset = (url.scheme?.count ?? 2) + 3 - path = String(path[path.index(path.startIndex, offsetBy: offset).. Int { - let offset = findEndOfHTTP(data: data) - if offset > 0 { - buffer.append(data.subdata(in: 0.. Bool { - guard let str = String(data: data, encoding: .utf8) else { - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.invalidData)) - return true - } - let splitArr = str.components(separatedBy: "\r\n") - var code = -1 - var i = 0 - var headers = [String: String]() - for str in splitArr { - if i == 0 { - let responseSplit = str.components(separatedBy: .whitespaces) - guard responseSplit.count > 1 else { - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.invalidData)) - return true - } - if let c = Int(responseSplit[1]) { - code = c - } - } else { - guard let separatorIndex = str.firstIndex(of: ":") else { break } - let key = str.prefix(upTo: separatorIndex).trimmingCharacters(in: .whitespaces) - let val = str.suffix(from: str.index(after: separatorIndex)).trimmingCharacters(in: .whitespaces) - headers[key.lowercased()] = val - } - i += 1 - } - - if code != HTTPWSHeader.switchProtocolCode { - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.notAnUpgrade(code))) - return true - } - - delegate?.didReceiveHTTP(event: .success(headers)) - return true - } - - public func register(delegate: HTTPHandlerDelegate) { - self.delegate = delegate - } - - private func findEndOfHTTP(data: Data) -> Int { - let endBytes = [UInt8(ascii: "\r"), UInt8(ascii: "\n"), UInt8(ascii: "\r"), UInt8(ascii: "\n")] - var pointer = [UInt8]() - data.withUnsafeBytes { pointer.append(contentsOf: $0) } - var k = 0 - for i in 0.. ())) { - if allowSelfSigned { - completion(.success) - return - } - - if let validateDomain = domain { - SecTrustSetPolicies(trust, SecPolicyCreateSSL(true, validateDomain as NSString?)) - } - - handleSecurityTrust(trust: trust, completion: completion) - } - - private func handleSecurityTrust(trust: SecTrust, completion: ((PinningState) -> ())) { - if #available(iOS 12.0, OSX 10.14, watchOS 5.0, tvOS 12.0, *) { - var error: CFError? - if SecTrustEvaluateWithError(trust, &error) { - completion(.success) - } else { - completion(.failed(error)) - } - } else { - handleOldSecurityTrust(trust: trust, completion: completion) - } - } - - private func handleOldSecurityTrust(trust: SecTrust, completion: ((PinningState) -> ())) { - var result: SecTrustResultType = .unspecified - SecTrustEvaluate(trust, &result) - if result == .unspecified || result == .proceed { - completion(.success) - } else { - let e = CFErrorCreate(kCFAllocatorDefault, "FoundationSecurityError" as NSString?, Int(result.rawValue), nil) - completion(.failed(e)) - } - } -} - -extension FoundationSecurity: HeaderValidator { - public func validate(headers: [String: String], key: String) -> Error? { - if let acceptKey = headers[HTTPWSHeader.acceptName] { - let sha = "\(key)258EAFA5-E914-47DA-95CA-C5AB0DC85B11".sha1Base64() - if sha != acceptKey { - return WSError(type: .securityError, message: "accept header doesn't match", code: SecurityErrorCode.acceptFailed.rawValue) - } - } - return nil - } -} - -private extension String { - func sha1Base64() -> String { - let data = self.data(using: .utf8)! - let pointer = data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) -> [UInt8] in - var digest = [UInt8](repeating: 0, count:Int(CC_SHA1_DIGEST_LENGTH)) - CC_SHA1(bytes.baseAddress, CC_LONG(data.count), &digest) - return digest - } - return Data(pointer).base64EncodedString() - } -} diff --git a/Pods/Starscream/Sources/Security/Security.swift b/Pods/Starscream/Sources/Security/Security.swift deleted file mode 100644 index a64a7713..00000000 --- a/Pods/Starscream/Sources/Security/Security.swift +++ /dev/null @@ -1,45 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Security.swift -// Starscream -// -// Created by Dalton Cherry on 3/16/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum SecurityErrorCode: UInt16 { - case acceptFailed = 1 - case pinningFailed = 2 -} - -public enum PinningState { - case success - case failed(CFError?) -} - -// CertificatePinning protocol provides an interface for Transports to handle Certificate -// or Public Key Pinning. -public protocol CertificatePinning: class { - func evaluateTrust(trust: SecTrust, domain: String?, completion: ((PinningState) -> ())) -} - -// validates the "Sec-WebSocket-Accept" header as defined 1.3 of the RFC 6455 -// https://tools.ietf.org/html/rfc6455#section-1.3 -public protocol HeaderValidator: class { - func validate(headers: [String: String], key: String) -> Error? -} diff --git a/Pods/Starscream/Sources/Server/Server.swift b/Pods/Starscream/Sources/Server/Server.swift deleted file mode 100644 index 527c851d..00000000 --- a/Pods/Starscream/Sources/Server/Server.swift +++ /dev/null @@ -1,56 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Server.swift -// Starscream -// -// Created by Dalton Cherry on 4/2/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum ConnectionEvent { - case connected([String: String]) - case disconnected(String, UInt16) - case text(String) - case binary(Data) - case pong(Data?) - case ping(Data?) - case error(Error) -} - -public protocol Connection { - func write(data: Data, opcode: FrameOpCode) -} - -public protocol ConnectionDelegate: class { - func didReceive(event: ServerEvent) -} - -public enum ServerEvent { - case connected(Connection, [String: String]) - case disconnected(Connection, String, UInt16) - case text(Connection, String) - case binary(Connection, Data) - case pong(Connection, Data?) - case ping(Connection, Data?) -} - -public protocol Server { - func start(address: String, port: UInt16) -> Error? -} - - diff --git a/Pods/Starscream/Sources/Server/WebSocketServer.swift b/Pods/Starscream/Sources/Server/WebSocketServer.swift deleted file mode 100644 index 4d3b9af5..00000000 --- a/Pods/Starscream/Sources/Server/WebSocketServer.swift +++ /dev/null @@ -1,196 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// WebSocketServer.swift -// Starscream -// -// Created by Dalton Cherry on 4/5/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -#if canImport(Network) -import Foundation -import Network - -/// WebSocketServer is a Network.framework implementation of a WebSocket server -@available(watchOS, unavailable) -@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *) -public class WebSocketServer: Server, ConnectionDelegate { - public var onEvent: ((ServerEvent) -> Void)? - private var connections = [String: ServerConnection]() - private var listener: NWListener? - private let queue = DispatchQueue(label: "com.vluxe.starscream.server.networkstream", attributes: []) - - public init() { - - } - - public func start(address: String, port: UInt16) -> Error? { - //TODO: support TLS cert adding/binding - let parameters = NWParameters(tls: nil, tcp: NWProtocolTCP.Options()) - let p = NWEndpoint.Port(rawValue: port)! - parameters.requiredLocalEndpoint = NWEndpoint.hostPort(host: NWEndpoint.Host.name(address, nil), port: p) - - guard let listener = try? NWListener(using: parameters, on: p) else { - return WSError(type: .serverError, message: "unable to start the listener at: \(address):\(port)", code: 0) - } - listener.newConnectionHandler = {[weak self] conn in - let transport = TCPTransport(connection: conn) - let c = ServerConnection(transport: transport) - c.delegate = self - self?.connections[c.uuid] = c - } -// listener.stateUpdateHandler = { state in -// switch state { -// case .ready: -// print("ready to get sockets!") -// case .setup: -// print("setup to get sockets!") -// case .cancelled: -// print("server cancelled!") -// case .waiting(let error): -// print("waiting error: \(error)") -// case .failed(let error): -// print("server failed: \(error)") -// @unknown default: -// print("wat?") -// } -// } - self.listener = listener - listener.start(queue: queue) - return nil - } - - public func didReceive(event: ServerEvent) { - onEvent?(event) - switch event { - case .disconnected(let conn, _, _): - guard let conn = conn as? ServerConnection else { - return - } - connections.removeValue(forKey: conn.uuid) - default: - break - } - } -} - -@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *) -public class ServerConnection: Connection, HTTPServerDelegate, FramerEventClient, FrameCollectorDelegate, TransportEventClient { - let transport: TCPTransport - private let httpHandler = FoundationHTTPServerHandler() - private let framer = WSFramer(isServer: true) - private let frameHandler = FrameCollector() - private var didUpgrade = false - public var onEvent: ((ConnectionEvent) -> Void)? - public weak var delegate: ConnectionDelegate? - private let id: String - var uuid: String { - return id - } - - init(transport: TCPTransport) { - self.id = UUID().uuidString - self.transport = transport - transport.register(delegate: self) - httpHandler.register(delegate: self) - framer.register(delegate: self) - frameHandler.delegate = self - } - - public func write(data: Data, opcode: FrameOpCode) { - let wsData = framer.createWriteFrame(opcode: opcode, payload: data, isCompressed: false) - transport.write(data: wsData, completion: {_ in }) - } - - // MARK: - TransportEventClient - - public func connectionChanged(state: ConnectionState) { - switch state { - case .connected: - break - case .waiting: - break - case .failed(let error): - print("server connection error: \(error ?? WSError(type: .protocolError, message: "default error, no extra data", code: 0))") //handleError(error) - case .viability(_): - break - case .shouldReconnect(_): - break - case .receive(let data): - if didUpgrade { - framer.add(data: data) - } else { - httpHandler.parse(data: data) - } - case .cancelled: - print("server connection cancelled!") - //broadcast(event: .cancelled) - } - } - - /// MARK: - HTTPServerDelegate - - public func didReceive(event: HTTPEvent) { - switch event { - case .success(let headers): - didUpgrade = true - let response = httpHandler.createResponse(headers: [:]) - transport.write(data: response, completion: {_ in }) - delegate?.didReceive(event: .connected(self, headers)) - onEvent?(.connected(headers)) - case .failure(let error): - onEvent?(.error(error)) - } - } - - /// MARK: - FrameCollectorDelegate - - public func frameProcessed(event: FrameEvent) { - switch event { - case .frame(let frame): - frameHandler.add(frame: frame) - case .error(let error): - onEvent?(.error(error)) - } - } - - public func didForm(event: FrameCollector.Event) { - switch event { - case .text(let string): - delegate?.didReceive(event: .text(self, string)) - onEvent?(.text(string)) - case .binary(let data): - delegate?.didReceive(event: .binary(self, data)) - onEvent?(.binary(data)) - case .pong(let data): - delegate?.didReceive(event: .pong(self, data)) - onEvent?(.pong(data)) - case .ping(let data): - delegate?.didReceive(event: .ping(self, data)) - onEvent?(.ping(data)) - case .closed(let reason, let code): - delegate?.didReceive(event: .disconnected(self, reason, code)) - onEvent?(.disconnected(reason, code)) - case .error(let error): - onEvent?(.error(error)) - } - } - - public func decompress(data: Data, isFinal: Bool) -> Data? { - return nil - } -} -#endif diff --git a/Pods/Starscream/Sources/Starscream/WebSocket.swift b/Pods/Starscream/Sources/Starscream/WebSocket.swift deleted file mode 100644 index 1d3545c3..00000000 --- a/Pods/Starscream/Sources/Starscream/WebSocket.swift +++ /dev/null @@ -1,178 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Websocket.swift -// Starscream -// -// Created by Dalton Cherry on 7/16/14. -// Copyright (c) 2014-2019 Dalton Cherry. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum ErrorType: Error { - case compressionError - case securityError - case protocolError //There was an error parsing the WebSocket frames - case serverError -} - -public struct WSError: Error { - public let type: ErrorType - public let message: String - public let code: UInt16 - - public init(type: ErrorType, message: String, code: UInt16) { - self.type = type - self.message = message - self.code = code - } -} - -public protocol WebSocketClient: class { - func connect() - func disconnect(closeCode: UInt16) - func write(string: String, completion: (() -> ())?) - func write(stringData: Data, completion: (() -> ())?) - func write(data: Data, completion: (() -> ())?) - func write(ping: Data, completion: (() -> ())?) - func write(pong: Data, completion: (() -> ())?) -} - -//implements some of the base behaviors -extension WebSocketClient { - public func write(string: String) { - write(string: string, completion: nil) - } - - public func write(data: Data) { - write(data: data, completion: nil) - } - - public func write(ping: Data) { - write(ping: ping, completion: nil) - } - - public func write(pong: Data) { - write(pong: pong, completion: nil) - } - - public func disconnect() { - disconnect(closeCode: CloseCode.normal.rawValue) - } -} - -public enum WebSocketEvent { - case connected([String: String]) - case disconnected(String, UInt16) - case text(String) - case binary(Data) - case pong(Data?) - case ping(Data?) - case error(Error?) - case viabilityChanged(Bool) - case reconnectSuggested(Bool) - case cancelled -} - -public protocol WebSocketDelegate: class { - func didReceive(event: WebSocketEvent, client: WebSocket) -} - -open class WebSocket: WebSocketClient, EngineDelegate { - private let engine: Engine - public weak var delegate: WebSocketDelegate? - public var onEvent: ((WebSocketEvent) -> Void)? - - public var request: URLRequest - // Where the callback is executed. It defaults to the main UI thread queue. - public var callbackQueue = DispatchQueue.main - public var respondToPingWithPong: Bool { - set { - guard let e = engine as? WSEngine else { return } - e.respondToPingWithPong = newValue - } - get { - guard let e = engine as? WSEngine else { return true } - return e.respondToPingWithPong - } - } - - // serial write queue to ensure writes happen in order - private let writeQueue = DispatchQueue(label: "com.vluxe.starscream.writequeue") - private var canSend = false - private let mutex = DispatchSemaphore(value: 1) - - public init(request: URLRequest, engine: Engine) { - self.request = request - self.engine = engine - } - - public convenience init(request: URLRequest, certPinner: CertificatePinning? = FoundationSecurity(), compressionHandler: CompressionHandler? = nil, useCustomEngine: Bool = true) { - if #available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *), !useCustomEngine { - self.init(request: request, engine: NativeEngine()) - } else if #available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *) { - self.init(request: request, engine: WSEngine(transport: TCPTransport(), certPinner: certPinner, compressionHandler: compressionHandler)) - } else { - self.init(request: request, engine: WSEngine(transport: FoundationTransport(), certPinner: certPinner, compressionHandler: compressionHandler)) - } - } - - public func connect() { - engine.register(delegate: self) - engine.start(request: request) - } - - public func disconnect(closeCode: UInt16 = CloseCode.normal.rawValue) { - engine.stop(closeCode: closeCode) - } - - public func forceDisconnect() { - engine.forceStop() - } - - public func write(data: Data, completion: (() -> ())?) { - write(data: data, opcode: .binaryFrame, completion: completion) - } - - public func write(string: String, completion: (() -> ())?) { - engine.write(string: string, completion: completion) - } - - public func write(stringData: Data, completion: (() -> ())?) { - write(data: stringData, opcode: .textFrame, completion: completion) - } - - public func write(ping: Data, completion: (() -> ())?) { - write(data: ping, opcode: .ping, completion: completion) - } - - public func write(pong: Data, completion: (() -> ())?) { - write(data: pong, opcode: .pong, completion: completion) - } - - private func write(data: Data, opcode: FrameOpCode, completion: (() -> ())?) { - engine.write(data: data, opcode: opcode, completion: completion) - } - - // MARK: - EngineDelegate - public func didReceive(event: WebSocketEvent) { - callbackQueue.async { [weak self] in - guard let s = self else { return } - s.delegate?.didReceive(event: event, client: s) - s.onEvent?(event) - } - } -} diff --git a/Pods/Starscream/Sources/Transport/FoundationTransport.swift b/Pods/Starscream/Sources/Transport/FoundationTransport.swift deleted file mode 100644 index 8d304f88..00000000 --- a/Pods/Starscream/Sources/Transport/FoundationTransport.swift +++ /dev/null @@ -1,218 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// FoundationTransport.swift -// Starscream -// -// Created by Dalton Cherry on 1/23/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum FoundationTransportError: Error { - case invalidRequest - case invalidOutputStream - case timeout -} - -public class FoundationTransport: NSObject, Transport, StreamDelegate { - private weak var delegate: TransportEventClient? - private let workQueue = DispatchQueue(label: "com.vluxe.starscream.websocket", attributes: []) - private var inputStream: InputStream? - private var outputStream: OutputStream? - private var isOpen = false - private var onConnect: ((InputStream, OutputStream) -> Void)? - private var isTLS = false - private var certPinner: CertificatePinning? - - public var usingTLS: Bool { - return self.isTLS - } - - public init(streamConfiguration: ((InputStream, OutputStream) -> Void)? = nil) { - super.init() - onConnect = streamConfiguration - } - - deinit { - inputStream?.delegate = nil - outputStream?.delegate = nil - } - - public func connect(url: URL, timeout: Double = 10, certificatePinning: CertificatePinning? = nil) { - guard let parts = url.getParts() else { - delegate?.connectionChanged(state: .failed(FoundationTransportError.invalidRequest)) - return - } - self.certPinner = certificatePinning - self.isTLS = parts.isTLS - var readStream: Unmanaged? - var writeStream: Unmanaged? - let h = parts.host as NSString - CFStreamCreatePairWithSocketToHost(nil, h, UInt32(parts.port), &readStream, &writeStream) - inputStream = readStream!.takeRetainedValue() - outputStream = writeStream!.takeRetainedValue() - guard let inStream = inputStream, let outStream = outputStream else { - return - } - inStream.delegate = self - outStream.delegate = self - - if isTLS { - let key = CFStreamPropertyKey(rawValue: kCFStreamPropertySocketSecurityLevel) - CFReadStreamSetProperty(inStream, key, kCFStreamSocketSecurityLevelNegotiatedSSL) - CFWriteStreamSetProperty(outStream, key, kCFStreamSocketSecurityLevelNegotiatedSSL) - } - - onConnect?(inStream, outStream) - - isOpen = false - CFReadStreamSetDispatchQueue(inStream, workQueue) - CFWriteStreamSetDispatchQueue(outStream, workQueue) - inStream.open() - outStream.open() - - - workQueue.asyncAfter(deadline: .now() + timeout, execute: { [weak self] in - guard let s = self else { return } - if !s.isOpen { - s.delegate?.connectionChanged(state: .failed(FoundationTransportError.timeout)) - } - }) - } - - public func disconnect() { - if let stream = inputStream { - stream.delegate = nil - CFReadStreamSetDispatchQueue(stream, nil) - stream.close() - } - if let stream = outputStream { - stream.delegate = nil - CFWriteStreamSetDispatchQueue(stream, nil) - stream.close() - } - isOpen = false - outputStream = nil - inputStream = nil - } - - public func register(delegate: TransportEventClient) { - self.delegate = delegate - } - - public func write(data: Data, completion: @escaping ((Error?) -> ())) { - guard let outStream = outputStream else { - completion(FoundationTransportError.invalidOutputStream) - return - } - var total = 0 - let buffer = UnsafeRawPointer((data as NSData).bytes).assumingMemoryBound(to: UInt8.self) - //NOTE: this might need to be dispatched to the work queue instead of being written inline. TBD. - while total < data.count { - let written = outStream.write(buffer, maxLength: data.count) - if written < 0 { - completion(FoundationTransportError.invalidOutputStream) - return - } - total += written - } - completion(nil) - } - - private func getSecurityData() -> (SecTrust?, String?) { - #if os(watchOS) - return (nil, nil) - #else - guard let outputStream = outputStream else { - return (nil, nil) - } - let trust = outputStream.property(forKey: kCFStreamPropertySSLPeerTrust as Stream.PropertyKey) as! SecTrust? - var domain = outputStream.property(forKey: kCFStreamSSLPeerName as Stream.PropertyKey) as! String? - - if domain == nil, - let sslContextOut = CFWriteStreamCopyProperty(outputStream, CFStreamPropertyKey(rawValue: kCFStreamPropertySSLContext)) as! SSLContext? { - var peerNameLen: Int = 0 - SSLGetPeerDomainNameLength(sslContextOut, &peerNameLen) - var peerName = Data(count: peerNameLen) - let _ = peerName.withUnsafeMutableBytes { (peerNamePtr: UnsafeMutablePointer) in - SSLGetPeerDomainName(sslContextOut, peerNamePtr, &peerNameLen) - } - if let peerDomain = String(bytes: peerName, encoding: .utf8), peerDomain.count > 0 { - domain = peerDomain - } - } - return (trust, domain) - #endif - } - - private func read() { - guard let stream = inputStream else { - return - } - let maxBuffer = 4096 - let buf = NSMutableData(capacity: maxBuffer) - let buffer = UnsafeMutableRawPointer(mutating: buf!.bytes).assumingMemoryBound(to: UInt8.self) - let length = stream.read(buffer, maxLength: maxBuffer) - if length < 1 { - return - } - let data = Data(bytes: buffer, count: length) - delegate?.connectionChanged(state: .receive(data)) - } - - // MARK: - StreamDelegate - - open func stream(_ aStream: Stream, handle eventCode: Stream.Event) { - switch eventCode { - case .hasBytesAvailable: - if aStream == inputStream { - read() - } - case .errorOccurred: - delegate?.connectionChanged(state: .failed(aStream.streamError)) - case .endEncountered: - if aStream == inputStream { - delegate?.connectionChanged(state: .cancelled) - } - case .openCompleted: - if aStream == inputStream { - let (trust, domain) = getSecurityData() - if let pinner = certPinner, let trust = trust { - pinner.evaluateTrust(trust: trust, domain: domain, completion: { [weak self] (state) in - switch state { - case .success: - self?.isOpen = true - self?.delegate?.connectionChanged(state: .connected) - case .failed(let error): - self?.delegate?.connectionChanged(state: .failed(error)) - } - - }) - } else { - isOpen = true - delegate?.connectionChanged(state: .connected) - } - } - case .endEncountered: - if aStream == inputStream { - delegate?.connectionChanged(state: .cancelled) - } - default: - break - } - } -} diff --git a/Pods/Starscream/Sources/Transport/TCPTransport.swift b/Pods/Starscream/Sources/Transport/TCPTransport.swift deleted file mode 100644 index 459cb2ed..00000000 --- a/Pods/Starscream/Sources/Transport/TCPTransport.swift +++ /dev/null @@ -1,159 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// HTTPTransport.swift -// Starscream -// -// Created by Dalton Cherry on 1/23/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -#if canImport(Network) -import Foundation -import Network - -public enum TCPTransportError: Error { - case invalidRequest -} - -@available(macOS 10.14, iOS 12.0, watchOS 5.0, tvOS 12.0, *) -public class TCPTransport: Transport { - private var connection: NWConnection? - private let queue = DispatchQueue(label: "com.vluxe.starscream.networkstream", attributes: []) - private weak var delegate: TransportEventClient? - private var isRunning = false - private var isTLS = false - - public var usingTLS: Bool { - return self.isTLS - } - - public init(connection: NWConnection) { - self.connection = connection - start() - } - - public init() { - //normal connection, will use the "connect" method below - } - - public func connect(url: URL, timeout: Double = 10, certificatePinning: CertificatePinning? = nil) { - guard let parts = url.getParts() else { - delegate?.connectionChanged(state: .failed(TCPTransportError.invalidRequest)) - return - } - self.isTLS = parts.isTLS - let options = NWProtocolTCP.Options() - options.connectionTimeout = Int(timeout.rounded(.up)) - - let tlsOptions = isTLS ? NWProtocolTLS.Options() : nil - if let tlsOpts = tlsOptions { - sec_protocol_options_set_verify_block(tlsOpts.securityProtocolOptions, { (sec_protocol_metadata, sec_trust, sec_protocol_verify_complete) in - let trust = sec_trust_copy_ref(sec_trust).takeRetainedValue() - guard let pinner = certificatePinning else { - sec_protocol_verify_complete(true) - return - } - pinner.evaluateTrust(trust: trust, domain: parts.host, completion: { (state) in - switch state { - case .success: - sec_protocol_verify_complete(true) - case .failed(_): - sec_protocol_verify_complete(false) - } - }) - }, queue) - } - let parameters = NWParameters(tls: tlsOptions, tcp: options) - let conn = NWConnection(host: NWEndpoint.Host.name(parts.host, nil), port: NWEndpoint.Port(rawValue: UInt16(parts.port))!, using: parameters) - connection = conn - start() - } - - public func disconnect() { - isRunning = false - connection?.cancel() - } - - public func register(delegate: TransportEventClient) { - self.delegate = delegate - } - - public func write(data: Data, completion: @escaping ((Error?) -> ())) { - connection?.send(content: data, completion: .contentProcessed { (error) in - completion(error) - }) - } - - private func start() { - guard let conn = connection else { - return - } - conn.stateUpdateHandler = { [weak self] (newState) in - switch newState { - case .ready: - self?.delegate?.connectionChanged(state: .connected) - case .waiting: - self?.delegate?.connectionChanged(state: .waiting) - case .cancelled: - self?.delegate?.connectionChanged(state: .cancelled) - case .failed(let error): - self?.delegate?.connectionChanged(state: .failed(error)) - case .setup, .preparing: - break - @unknown default: - break - } - } - - conn.viabilityUpdateHandler = { [weak self] (isViable) in - self?.delegate?.connectionChanged(state: .viability(isViable)) - } - - conn.betterPathUpdateHandler = { [weak self] (isBetter) in - self?.delegate?.connectionChanged(state: .shouldReconnect(isBetter)) - } - - conn.start(queue: queue) - isRunning = true - readLoop() - } - - //readLoop keeps reading from the connection to get the latest content - private func readLoop() { - if !isRunning { - return - } - connection?.receive(minimumIncompleteLength: 2, maximumLength: 4096, completion: {[weak self] (data, context, isComplete, error) in - guard let s = self else {return} - if let data = data { - s.delegate?.connectionChanged(state: .receive(data)) - } - - // Refer to https://developer.apple.com/documentation/network/implementing_netcat_with_network_framework - if let context = context, context.isFinal, isComplete { - return - } - - if error == nil { - s.readLoop() - } - - }) - } -} -#else -typealias TCPTransport = FoundationTransport -#endif diff --git a/Pods/Starscream/Sources/Transport/Transport.swift b/Pods/Starscream/Sources/Transport/Transport.swift deleted file mode 100644 index e645651f..00000000 --- a/Pods/Starscream/Sources/Transport/Transport.swift +++ /dev/null @@ -1,55 +0,0 @@ -////////////////////////////////////////////////////////////////////////////////////////////////// -// -////////////////////////////////////////////////////////////////////////////////////////////////// -// -// Transport.swift -// Starscream -// -// Created by Dalton Cherry on 1/23/19. -// Copyright © 2019 Vluxe. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -////////////////////////////////////////////////////////////////////////////////////////////////// - -import Foundation - -public enum ConnectionState { - case connected - case waiting - case cancelled - case failed(Error?) - - //the viability (connection status) of the connection has updated - //e.g. connection is down, connection came back up, etc - case viability(Bool) - - //the connection has upgrade to wifi from cellular. - //you should consider reconnecting to take advantage of this - case shouldReconnect(Bool) - - //the connection receive data - case receive(Data) -} - -public protocol TransportEventClient: class { - func connectionChanged(state: ConnectionState) -} - -public protocol Transport: class { - func register(delegate: TransportEventClient) - func connect(url: URL, timeout: Double, certificatePinning: CertificatePinning?) - func disconnect() - func write(data: Data, completion: @escaping ((Error?) -> ())) - var usingTLS: Bool { get } -} diff --git a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown index 46e0aa0d..a4038390 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown @@ -50,183 +50,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Starscream - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist index b75fe53f..457d2bbd 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist @@ -74,191 +74,6 @@ SOFTWARE. Type PSGroupSpecifier - - FooterText - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - License - Apache License, Version 2.0 - Title - Starscream - Type - PSGroupSpecifier - FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks.sh b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks.sh index 4d5a4a4f..c6b3f1fe 100755 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks.sh +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" @@ -41,7 +41,7 @@ install_framework() if [ -L "${source}" ]; then echo "Symlinked..." - source="$(readlink "${source}")" + source="$(readlink -f "${source}")" fi if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then diff --git a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig index a778400b..31397425 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig index a778400b..31397425 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown index e3e71ca2..a4038390 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.markdown @@ -1,185 +1,6 @@ # Acknowledgements This application makes use of the following third party libraries: -## Starscream - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - ## SwiftFormat MIT License diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist index 15c0b125..457d2bbd 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-acknowledgements.plist @@ -12,191 +12,6 @@ Type PSGroupSpecifier - - FooterText - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - License - Apache License, Version 2.0 - Title - Starscream - Type - PSGroupSpecifier - FooterText MIT License diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh index 4d5a4a4f..c6b3f1fe 100755 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" @@ -41,7 +41,7 @@ install_framework() if [ -L "${source}" ]; then echo "Symlinked..." - source="$(readlink "${source}")" + source="$(readlink -f "${source}")" fi if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig index 546006f0..4ad5bddd 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig index 546006f0..4ad5bddd 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown index e3e71ca2..a4038390 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown @@ -1,185 +1,6 @@ # Acknowledgements This application makes use of the following third party libraries: -## Starscream - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - ## SwiftFormat MIT License diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist index 15c0b125..457d2bbd 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist @@ -12,191 +12,6 @@ Type PSGroupSpecifier - - FooterText - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - License - Apache License, Version 2.0 - Title - Starscream - Type - PSGroupSpecifier - FooterText MIT License diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig index 544bc2bf..2f608922 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig @@ -1,10 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig index 544bc2bf..2f608922 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig @@ -1,10 +1,7 @@ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/../../Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown index 46e0aa0d..a4038390 100644 --- a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.markdown @@ -50,183 +50,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Starscream - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist index b75fe53f..457d2bbd 100644 --- a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-acknowledgements.plist @@ -74,191 +74,6 @@ SOFTWARE. Type PSGroupSpecifier - - FooterText - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - Copyright (c) 2014-2016 Dalton Cherry. - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - License - Apache License, Version 2.0 - Title - Starscream - Type - PSGroupSpecifier - FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh index 4d5a4a4f..c6b3f1fe 100755 --- a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh +++ b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-frameworks.sh @@ -18,7 +18,7 @@ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +SWIFT_STDLIB_PATH="${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" BCSYMBOLMAP_DIR="BCSymbolMaps" @@ -41,7 +41,7 @@ install_framework() if [ -L "${source}" ]; then echo "Symlinked..." - source="$(readlink "${source}")" + source="$(readlink -f "${source}")" fi if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then diff --git a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig index 546006f0..4ad5bddd 100644 --- a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig +++ b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig index 546006f0..4ad5bddd 100644 --- a/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig +++ b/Pods/Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig @@ -1,11 +1,8 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscream/Starscream.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift "$(PLATFORM_DIR)/Developer/Library/Frameworks" '@executable_path/Frameworks' '@loader_path/Frameworks' -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Starscream" +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/Starscream/Starscream-Info.plist b/Pods/Target Support Files/Starscream/Starscream-Info.plist deleted file mode 100644 index b88155c6..00000000 --- a/Pods/Target Support Files/Starscream/Starscream-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - ${PODS_DEVELOPMENT_LANGUAGE} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 4.0.4 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Pods/Target Support Files/Starscream/Starscream-dummy.m b/Pods/Target Support Files/Starscream/Starscream-dummy.m deleted file mode 100644 index 94456b3b..00000000 --- a/Pods/Target Support Files/Starscream/Starscream-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Starscream : NSObject -@end -@implementation PodsDummy_Starscream -@end diff --git a/Pods/Target Support Files/Starscream/Starscream-prefix.pch b/Pods/Target Support Files/Starscream/Starscream-prefix.pch deleted file mode 100644 index beb2a244..00000000 --- a/Pods/Target Support Files/Starscream/Starscream-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Pods/Target Support Files/Starscream/Starscream-umbrella.h b/Pods/Target Support Files/Starscream/Starscream-umbrella.h deleted file mode 100644 index 7bffee0b..00000000 --- a/Pods/Target Support Files/Starscream/Starscream-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double StarscreamVersionNumber; -FOUNDATION_EXPORT const unsigned char StarscreamVersionString[]; - diff --git a/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig b/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig deleted file mode 100644 index b4844ade..00000000 --- a/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Starscream -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Starscream -PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/Starscream/Starscream.modulemap b/Pods/Target Support Files/Starscream/Starscream.modulemap deleted file mode 100644 index 2b909707..00000000 --- a/Pods/Target Support Files/Starscream/Starscream.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Starscream { - umbrella header "Starscream-umbrella.h" - - export * - module * { export * } -} diff --git a/Pods/Target Support Files/Starscream/Starscream.release.xcconfig b/Pods/Target Support Files/Starscream/Starscream.release.xcconfig deleted file mode 100644 index b4844ade..00000000 --- a/Pods/Target Support Files/Starscream/Starscream.release.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Starscream -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/Starscream -PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/SwiftFormat/SwiftFormat.debug.xcconfig b/Pods/Target Support Files/SwiftFormat/SwiftFormat.debug.xcconfig index 39a1603a..db8379ed 100644 --- a/Pods/Target Support Files/SwiftFormat/SwiftFormat.debug.xcconfig +++ b/Pods/Target Support Files/SwiftFormat/SwiftFormat.debug.xcconfig @@ -1,7 +1,8 @@ +APPLICATION_EXTENSION_API_ONLY = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/SwiftFormat/SwiftFormat.release.xcconfig b/Pods/Target Support Files/SwiftFormat/SwiftFormat.release.xcconfig index 39a1603a..db8379ed 100644 --- a/Pods/Target Support Files/SwiftFormat/SwiftFormat.release.xcconfig +++ b/Pods/Target Support Files/SwiftFormat/SwiftFormat.release.xcconfig @@ -1,7 +1,8 @@ +APPLICATION_EXTENSION_API_ONLY = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftFormat GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Pods/Target Support Files/SwiftLint/SwiftLint.debug.xcconfig b/Pods/Target Support Files/SwiftLint/SwiftLint.debug.xcconfig index 5238df58..c21562df 100644 --- a/Pods/Target Support Files/SwiftLint/SwiftLint.debug.xcconfig +++ b/Pods/Target Support Files/SwiftLint/SwiftLint.debug.xcconfig @@ -1,3 +1,4 @@ +APPLICATION_EXTENSION_API_ONLY = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftLint GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 diff --git a/Pods/Target Support Files/SwiftLint/SwiftLint.release.xcconfig b/Pods/Target Support Files/SwiftLint/SwiftLint.release.xcconfig index 5238df58..c21562df 100644 --- a/Pods/Target Support Files/SwiftLint/SwiftLint.release.xcconfig +++ b/Pods/Target Support Files/SwiftLint/SwiftLint.release.xcconfig @@ -1,3 +1,4 @@ +APPLICATION_EXTENSION_API_ONLY = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftLint GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1