From dc4c867f61329d1231b14dbf69810bc4f627c63c Mon Sep 17 00:00:00 2001 From: Michael Law <1365977+lawmicha@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:56:11 -0800 Subject: [PATCH] feat: Upgrade Starscream to 4.0.6 (#152) --- AppSyncRealTimeClient.podspec | 2 +- Cartfile | 2 +- Package.resolved | 4 +- Package.swift | 2 +- Podfile | 4 +- Podfile.lock | 10 +- Pods/Manifest.lock | 10 +- Pods/Pods.xcodeproj/project.pbxproj | 530 +++++++++--------- Pods/Starscream/LICENSE | 2 +- Pods/Starscream/README.md | 19 +- .../Sources/Compression/WSCompression.swift | 9 + Pods/Starscream/Sources/Engine/Engine.swift | 18 +- .../Sources/Engine/NativeEngine.swift | 21 +- Pods/Starscream/Sources/Engine/WSEngine.swift | 35 +- .../Framer/FoundationHTTPHandler.swift | 13 +- .../Sources/Framer/FrameCollector.swift | 2 +- Pods/Starscream/Sources/Framer/Framer.swift | 4 +- .../Sources/Framer/HTTPHandler.swift | 18 +- .../Sources/Framer/StringHTTPHandler.swift | 2 +- .../Sources/Security/FoundationSecurity.swift | 4 +- .../Sources/Security/Security.swift | 4 +- Pods/Starscream/Sources/Server/Server.swift | 2 +- .../Sources/Server/WebSocketServer.swift | 2 + .../Sources/Starscream/WebSocket.swift | 12 +- .../Sources/Transport/TCPTransport.swift | 14 +- .../Sources/Transport/Transport.swift | 26 +- ...AppSyncRTCSample-acknowledgements.markdown | 2 +- ...ds-AppSyncRTCSample-acknowledgements.plist | 2 +- .../Pods-AppSyncRTCSample-frameworks.sh | 4 +- .../Pods-AppSyncRTCSample.debug.xcconfig | 2 +- .../Pods-AppSyncRTCSample.release.xcconfig | 2 +- ...lTimeClientTests-acknowledgements.markdown | 2 +- ...RealTimeClientTests-acknowledgements.plist | 2 +- ...t-AppSyncRealTimeClientTests-frameworks.sh | 4 +- ...-AppSyncRealTimeClientTests.debug.xcconfig | 2 +- ...ppSyncRealTimeClientTests.release.xcconfig | 2 +- ...ncRealTimeClient-acknowledgements.markdown | 2 +- ...pSyncRealTimeClient-acknowledgements.plist | 2 +- .../Pods-AppSyncRealTimeClient.debug.xcconfig | 2 +- ...ods-AppSyncRealTimeClient.release.xcconfig | 2 +- ...IntegrationTests-acknowledgements.markdown | 2 +- ...entIntegrationTests-acknowledgements.plist | 2 +- ...alTimeClientIntegrationTests-frameworks.sh | 4 +- ...lTimeClientIntegrationTests.debug.xcconfig | 2 +- ...imeClientIntegrationTests.release.xcconfig | 2 +- .../Starscream/Starscream-Info.plist | 2 +- .../Starscream/Starscream.debug.xcconfig | 3 +- .../Starscream/Starscream.release.xcconfig | 3 +- .../SwiftFormat/SwiftFormat.debug.xcconfig | 3 +- .../SwiftFormat/SwiftFormat.release.xcconfig | 3 +- .../SwiftLint/SwiftLint.debug.xcconfig | 1 + .../SwiftLint/SwiftLint.release.xcconfig | 1 + 52 files changed, 473 insertions(+), 358 deletions(-) diff --git a/AppSyncRealTimeClient.podspec b/AppSyncRealTimeClient.podspec index 4f0d6ed0..01a4bf65 100644 --- a/AppSyncRealTimeClient.podspec +++ b/AppSyncRealTimeClient.podspec @@ -16,5 +16,5 @@ Pod::Spec.new do |s| s.requires_arc = true s.source_files = 'AppSyncRealTimeClient/**/*.swift' - s.dependency 'Starscream', '4.0.4' + s.dependency 'Starscream', '4.0.6' end diff --git a/Cartfile b/Cartfile index aeedb0b6..f9c3d147 100644 --- a/Cartfile +++ b/Cartfile @@ -1 +1 @@ -github "daltoniam/starscream" == 4.0.4 +github "daltoniam/starscream" == 4.0.6 diff --git a/Package.resolved b/Package.resolved index a9c6ce6d..de0432e5 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/daltoniam/Starscream", "state": { "branch": null, - "revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21", - "version": "4.0.4" + "revision": "ac6c0fc9da221873e01bd1a0d4818498a71eef33", + "version": "4.0.6" } } ] diff --git a/Package.swift b/Package.swift index 430891fd..bac9ed21 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( targets: ["AppSyncRealTimeClient"]), ], dependencies: [ - .package(url: "https://github.com/daltoniam/Starscream", .exact("4.0.4")) + .package(url: "https://github.com/daltoniam/Starscream", .exact("4.0.6")) ], targets: [ .target( diff --git a/Podfile b/Podfile index a15b06e8..fa8ee212 100644 --- a/Podfile +++ b/Podfile @@ -1,5 +1,5 @@ # Uncomment the next line to define a global platform for your project -platform :ios, '9.0' +platform :ios, '13.0' def include_build_tools! pod 'SwiftFormat/CLI', "~> 0.49.0" @@ -13,7 +13,7 @@ target 'AppSyncRealTimeClient' do # Pods for AppSyncRealTimeClient # If you update this dependency version, be sure to update the Cartfile also - pod "Starscream", "4.0.4" + pod "Starscream", "4.0.6" include_build_tools! diff --git a/Podfile.lock b/Podfile.lock index 4476bf8b..2656678d 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,10 +1,10 @@ PODS: - - Starscream (4.0.4) + - Starscream (4.0.6) - SwiftFormat/CLI (0.49.18) - SwiftLint (0.51.0) DEPENDENCIES: - - Starscream (~> 4.0.4) + - Starscream (= 4.0.6) - SwiftFormat/CLI (~> 0.49.0) - SwiftLint @@ -15,10 +15,10 @@ SPEC REPOS: - SwiftLint SPEC CHECKSUMS: - Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9 + Starscream: fb2c4510bebf908c62bd383bcf05e673720e91fd SwiftFormat: 2402d29b26746f169cce5454d5af88314cbb2e35 SwiftLint: 1b7561918a19e23bfed960e40759086e70f4dba5 -PODFILE CHECKSUM: e76cd9f1f864d5985d232c1d82fa76bd06a050bf +PODFILE CHECKSUM: 18a2d10b11b24dce612d4399e16e3ab10b872058 -COCOAPODS: 1.12.0 +COCOAPODS: 1.14.3 diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 4476bf8b..2656678d 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,10 +1,10 @@ PODS: - - Starscream (4.0.4) + - Starscream (4.0.6) - SwiftFormat/CLI (0.49.18) - SwiftLint (0.51.0) DEPENDENCIES: - - Starscream (~> 4.0.4) + - Starscream (= 4.0.6) - SwiftFormat/CLI (~> 0.49.0) - SwiftLint @@ -15,10 +15,10 @@ SPEC REPOS: - SwiftLint SPEC CHECKSUMS: - Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9 + Starscream: fb2c4510bebf908c62bd383bcf05e673720e91fd SwiftFormat: 2402d29b26746f169cce5454d5af88314cbb2e35 SwiftLint: 1b7561918a19e23bfed960e40759086e70f4dba5 -PODFILE CHECKSUM: e76cd9f1f864d5985d232c1d82fa76bd06a050bf +PODFILE CHECKSUM: 18a2d10b11b24dce612d4399e16e3ab10b872058 -COCOAPODS: 1.12.0 +COCOAPODS: 1.14.3 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index dd913439..8190f95b 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -699,8 +699,8 @@ 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"; @@ -919,11 +919,48 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 1CF56FC0C82E16D08DB501B46289BAA1 /* Release */ = { + 0B04E9580CF9499B330EEC8732CF49BA /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3FD3D578DE7FE4DE0500419C58D45EB7 /* Pods-HostApp.release.xcconfig */; + baseConfigurationReference = 9B273836AFE7E07EE713B29F94B54285 /* Starscream.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = 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"; + 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 = 11.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"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 186058EC79E6505BA277F7F12132368E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EF215971A0AC1B1AFAF6E20BC75399E3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -932,16 +969,53 @@ 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-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-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", "@loader_path/Frameworks", ); MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-HostApp/Pods-HostApp.modulemap"; + 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; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4774CB9CA17E393E9777FC54C61AB8C6 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0C41223EE05E190DCA6549742F79399F /* Pods-AppSyncRTCSample.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = 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-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -956,7 +1030,44 @@ }; name = Release; }; - 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = { + 50112225750F1A65BC92D7388D5467A7 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B50EC21E064304AF394DE66ABDF70559 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = 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-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests/Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.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 = ""; + }; + name = Debug; + }; + 8DE5143C03248BB6CD542DE3963D6F3A /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -1009,7 +1120,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -1022,48 +1133,91 @@ }; name = Debug; }; - 280A2FB0FCF2AF77DD0E07FEFA964E89 /* Release */ = { + 8DEF60E8A61723230ABCDDDD8B05F224 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 422F3A44E627544820F8ABE6B3970EB8 /* Pods-AppSyncRealTimeClient.release.xcconfig */; + baseConfigurationReference = 1E6FB18A133A55AEF2676257477E2BC6 /* 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"; VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Release; }; - 6034D4D92C04BCA30C300F2D63F5B726 /* Debug */ = { + 9E406C6AAF85E580207CD97B0044DEAB /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EF215971A0AC1B1AFAF6E20BC75399E3 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.debug.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 = 13.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; + }; + A45EFDD93D37CF92F10B7F72F4230C81 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6ECF0AAE9F323948CD48B3C3A6738380 /* Pods-AppSyncRTCSample.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1072,16 +1226,16 @@ 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-AppSyncRTCSample/Pods-AppSyncRTCSample-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", "@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-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1095,11 +1249,12 @@ }; name = Debug; }; - 69BA06B3506D8BA4E90B4D73FBDC2693 /* Debug */ = { + AAFA4AE4CB0E5F5886B3796C3CBC6606 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA2FBC1398CA557C7C4333EBDF94EB76 /* Pods-AppSyncRealTimeClient.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1110,7 +1265,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRealTimeClient/Pods-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", @@ -1131,46 +1286,29 @@ }; name = Debug; }; - 6BD65E4348471683D60D071A997CCBB9 /* Debug */ = { + AD81E62ACCB0B7A923FC8AA288F9921E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 6ECF0AAE9F323948CD48B3C3A6738380 /* Pods-AppSyncRTCSample.debug.xcconfig */; + baseConfigurationReference = DFAB773151BA1C1F2F4B68EBDE223BA5 /* SwiftLint.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-AppSyncRTCSample/Pods-AppSyncRTCSample-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-AppSyncRTCSample/Pods-AppSyncRTCSample.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; }; - 89DDD25DB9130670FEDC5E0AD0F46AE7 /* Debug */ = { + AF1C0A6B4050D06DEEA1F4EC3E02BFE8 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A9735D953EBECD0EBC3C1D3EC8BCAFFC /* Starscream.debug.xcconfig */; + baseConfigurationReference = 422F3A44E627544820F8ABE6B3970EB8 /* Pods-AppSyncRealTimeClient.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1179,31 +1317,33 @@ 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-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.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-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; - 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 = Debug; + name = Release; }; - 8DEF60E8A61723230ABCDDDD8B05F224 /* Release */ = { + B4D735C278D065C9DB708F250D0B915D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1E6FB18A133A55AEF2676257477E2BC6 /* SwiftFormat.release.xcconfig */; + baseConfigurationReference = D999E258E54C8B9C1FD75659EC9F1DFA /* SwiftFormat.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -1214,15 +1354,15 @@ ); SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; }; - name = Release; + name = Debug; }; - 96A1F448F20C32FC078FF22CDFF73BDE /* Debug */ = { + B76412E26AD212A90B20AA7ABE7680DB /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 174519BFBCA8DC0E354AF1AB53B8650C /* Pods-HostApp.debug.xcconfig */; + baseConfigurationReference = 999D7A0732B0168D9EB631C456DEC8A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1231,16 +1371,16 @@ 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; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@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)"; @@ -1249,16 +1389,18 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 99FB9CF6AAD80427E8BD8A8FDD6B7C1E /* Release */ = { + CC4C43C83762421955CFA2FF2F247452 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = CBD288DBC23116B89AEE85DE391FA5F1 /* Pods-HostApp-AppSyncRealTimeClientIntegrationTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1269,7 +1411,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Target Support Files/Pods-HostApp-AppSyncRealTimeClientIntegrationTests/Pods-HostApp-AppSyncRealTimeClientIntegrationTests-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", @@ -1291,11 +1433,11 @@ }; name = Release; }; - A2D81D764443440850CD12659BAA7370 /* Release */ = { + D39C2D67B3257191EA340C336BB84DB6 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0C41223EE05E190DCA6549742F79399F /* Pods-AppSyncRTCSample.release.xcconfig */; + baseConfigurationReference = A9735D953EBECD0EBC3C1D3EC8BCAFFC /* Starscream.debug.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1304,33 +1446,31 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-Info.plist"; + 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 = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + 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"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - AD81E62ACCB0B7A923FC8AA288F9921E /* Release */ = { + EADD1F50ABC8096A0D6CB18822BB4EE4 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = DFAB773151BA1C1F2F4B68EBDE223BA5 /* SwiftLint.release.xcconfig */; + baseConfigurationReference = C56CA9A1C0E06E53913BBA31CEE13A31 /* SwiftLint.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -1341,15 +1481,15 @@ ); SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; }; - name = Release; + name = Debug; }; - B22D60E18099B28BD2A2E70223BAA8F1 /* Release */ = { + EEA23FACDE012785ED43B6D78F522A64 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 999D7A0732B0168D9EB631C456DEC8A3 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.release.xcconfig */; + baseConfigurationReference = 3FD3D578DE7FE4DE0500419C58D45EB7 /* Pods-HostApp.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1358,16 +1498,16 @@ 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-HostApp/Pods-HostApp-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", "@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-HostApp/Pods-HostApp.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1382,124 +1522,12 @@ }; name = Release; }; - B4D735C278D065C9DB708F250D0B915D /* Debug */ = { + FCE143EFB8E2A6E6AACBC347032630A6 /* 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 */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9B273836AFE7E07EE713B29F94B54285 /* Starscream.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; - 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"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - E2E568FC27FC52F5F44FA1C535EC843A /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B50EC21E064304AF394DE66ABDF70559 /* Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests.debug.xcconfig */; + baseConfigurationReference = 174519BFBCA8DC0E354AF1AB53B8650C /* Pods-HostApp.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -1508,16 +1536,16 @@ 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-HostApp/Pods-HostApp-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", "@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-HostApp/Pods-HostApp.modulemap"; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -1531,30 +1559,14 @@ }; name = Debug; }; - EADD1F50ABC8096A0D6CB18822BB4EE4 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C56CA9A1C0E06E53913BBA31CEE13A31 /* SwiftLint.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; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 0EE2BD7DE65D1E994ACC3ADE7D518289 /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient" */ = { isa = XCConfigurationList; buildConfigurations = ( - 69BA06B3506D8BA4E90B4D73FBDC2693 /* Debug */, - 280A2FB0FCF2AF77DD0E07FEFA964E89 /* Release */, + AAFA4AE4CB0E5F5886B3796C3CBC6606 /* Debug */, + AF1C0A6B4050D06DEEA1F4EC3E02BFE8 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1562,8 +1574,8 @@ 446A753797FBF42F388F8ECE017D276B /* Build configuration list for PBXNativeTarget "Pods-AppSyncRealTimeClient-AppSyncRealTimeClientTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - E2E568FC27FC52F5F44FA1C535EC843A /* Debug */, - B22D60E18099B28BD2A2E70223BAA8F1 /* Release */, + 50112225750F1A65BC92D7388D5467A7 /* Debug */, + B76412E26AD212A90B20AA7ABE7680DB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1571,8 +1583,8 @@ 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */, - CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */, + 8DE5143C03248BB6CD542DE3963D6F3A /* Debug */, + 9E406C6AAF85E580207CD97B0044DEAB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1580,8 +1592,8 @@ 5E342B11DDD91D2A8D5CEC382A58F29D /* Build configuration list for PBXNativeTarget "Starscream" */ = { isa = XCConfigurationList; buildConfigurations = ( - 89DDD25DB9130670FEDC5E0AD0F46AE7 /* Debug */, - CC66474D42F4DE32770AC3115C19B7CA /* Release */, + D39C2D67B3257191EA340C336BB84DB6 /* Debug */, + 0B04E9580CF9499B330EEC8732CF49BA /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1598,8 +1610,8 @@ 7C41A6B80DF6BE57E362AF79449FF7CB /* Build configuration list for PBXNativeTarget "Pods-HostApp-AppSyncRealTimeClientIntegrationTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 6034D4D92C04BCA30C300F2D63F5B726 /* Debug */, - 99FB9CF6AAD80427E8BD8A8FDD6B7C1E /* Release */, + 186058EC79E6505BA277F7F12132368E /* Debug */, + CC4C43C83762421955CFA2FF2F247452 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1607,8 +1619,8 @@ A86328A17F73E6E03858AEBF2FABB48D /* Build configuration list for PBXNativeTarget "Pods-AppSyncRTCSample" */ = { isa = XCConfigurationList; buildConfigurations = ( - 6BD65E4348471683D60D071A997CCBB9 /* Debug */, - A2D81D764443440850CD12659BAA7370 /* Release */, + A45EFDD93D37CF92F10B7F72F4230C81 /* Debug */, + 4774CB9CA17E393E9777FC54C61AB8C6 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1625,8 +1637,8 @@ C9DD81570A4AB080CF4A27B83C26BFF5 /* Build configuration list for PBXNativeTarget "Pods-HostApp" */ = { isa = XCConfigurationList; buildConfigurations = ( - 96A1F448F20C32FC078FF22CDFF73BDE /* Debug */, - 1CF56FC0C82E16D08DB501B46289BAA1 /* Release */, + FCE143EFB8E2A6E6AACBC347032630A6 /* Debug */, + EEA23FACDE012785ED43B6D78F522A64 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Pods/Starscream/LICENSE b/Pods/Starscream/LICENSE index d6ab2f1f..663de542 100644 --- a/Pods/Starscream/LICENSE +++ b/Pods/Starscream/LICENSE @@ -2,7 +2,7 @@ Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION diff --git a/Pods/Starscream/README.md b/Pods/Starscream/README.md index 634723aa..77eb91b0 100644 --- a/Pods/Starscream/README.md +++ b/Pods/Starscream/README.md @@ -1,6 +1,6 @@ ![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. +Starscream is a conforming WebSocket ([RFC 6455](https://datatracker.ietf.org/doc/html/rfc6455)) library in Swift. ## Features @@ -61,6 +61,8 @@ func didReceive(event: WebSocketEvent, client: WebSocket) { case .error(let error): isConnected = false handleError(error) + case .peerClosed: + break } } ``` @@ -165,7 +167,7 @@ TODO: Update docs on how to load certificates and public keys into an app bundle ### 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: +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 compression by adding a `compressionHandler`: ```swift var request = URLRequest(url: URL(string: "ws://localhost:8080/")!) @@ -202,10 +204,10 @@ Check out [Get Started](http://cocoapods.org/) tab on [cocoapods.org](http://coc To use Starscream in your project add the following 'Podfile' to your project source 'https://github.com/CocoaPods/Specs.git' - platform :ios, '9.0' + platform :ios, '11.0' use_frameworks! - pod 'Starscream', '~> 4.0.0' + pod 'Starscream', '~> 4.0.6' Then run: @@ -227,7 +229,7 @@ $ brew install carthage To integrate Starscream into your Xcode project using Carthage, specify it in your `Cartfile`: ``` -github "daltoniam/Starscream" >= 4.0.0 +github "daltoniam/Starscream" >= 4.0.6 ``` ### Accio @@ -237,7 +239,7 @@ Check out the [Accio](https://github.com/JamitLabs/Accio) docs on how to add a i Add the following to your Package.swift: ```swift -.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.0")), +.package(url: "https://github.com/daltoniam/Starscream.git", .upToNextMajor(from: "4.0.6")), ``` Next, add `Starscream` to your App targets dependencies like so: @@ -273,7 +275,7 @@ Once you have your Swift package set up, adding Starscream as a dependency is as ```swift dependencies: [ - .Package(url: "https://github.com/daltoniam/Starscream.git", majorVersion: 4) + .package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.0") ] ``` @@ -290,6 +292,9 @@ If you are running this in an OSX app or on a physical iOS device you will need ## TODOs - [ ] Proxy support +- [ ] Thread safe implementation +- [ ] Better testing/CI +- [ ] SSL Pinning/client auth examples ## License diff --git a/Pods/Starscream/Sources/Compression/WSCompression.swift b/Pods/Starscream/Sources/Compression/WSCompression.swift index 21295841..82f96740 100644 --- a/Pods/Starscream/Sources/Compression/WSCompression.swift +++ b/Pods/Starscream/Sources/Compression/WSCompression.swift @@ -44,6 +44,10 @@ public class WSCompression: CompressionHandler { guard let extensionHeader = headers[headerWSExtensionName] else { return } decompressorTakeOver = false compressorTakeOver = false + + // assume defaults unless the headers say otherwise + compressor = Compressor(windowBits: 15) + decompressor = Decompressor(windowBits: 15) let parts = extensionHeader.components(separatedBy: ";") for p in parts { @@ -204,6 +208,11 @@ class Compressor { } func compress(_ data: Data) throws -> Data { + guard !data.isEmpty else { + // For example, PONG has no content + return data + } + var compressed = Data() var res: CInt = 0 data.withUnsafeBytes { (ptr:UnsafePointer) -> Void in diff --git a/Pods/Starscream/Sources/Engine/Engine.swift b/Pods/Starscream/Sources/Engine/Engine.swift index a60ef7e8..79fe6bfe 100644 --- a/Pods/Starscream/Sources/Engine/Engine.swift +++ b/Pods/Starscream/Sources/Engine/Engine.swift @@ -1,14 +1,28 @@ +////////////////////////////////////////////////////////////////////////////////////////////////// // // Engine.swift // Starscream // -// Created by Dalton Cherry on 6/15/19. +// Created by Dalton Cherry on 6/15/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 EngineDelegate: class { +public protocol EngineDelegate: AnyObject { func didReceive(event: WebSocketEvent) } diff --git a/Pods/Starscream/Sources/Engine/NativeEngine.swift b/Pods/Starscream/Sources/Engine/NativeEngine.swift index 7294e364..a1cb4a45 100644 --- a/Pods/Starscream/Sources/Engine/NativeEngine.swift +++ b/Pods/Starscream/Sources/Engine/NativeEngine.swift @@ -1,10 +1,24 @@ +////////////////////////////////////////////////////////////////////////////////////////////////// // // NativeEngine.swift // Starscream // -// Created by Dalton Cherry on 6/15/19. +// Created by Dalton Cherry on 6/15/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 @@ -72,6 +86,7 @@ public class NativeEngine: NSObject, Engine, URLSessionDataDelegate, URLSessionW break case .failure(let error): self?.broadcast(event: .error(error)) + return } self?.doRead() } @@ -93,4 +108,8 @@ public class NativeEngine: NSObject, Engine, URLSessionDataDelegate, URLSessionW } broadcast(event: .disconnected(r, UInt16(closeCode.rawValue))) } + + public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { + broadcast(event: .error(error)) + } } diff --git a/Pods/Starscream/Sources/Engine/WSEngine.swift b/Pods/Starscream/Sources/Engine/WSEngine.swift index decca641..4add12a7 100644 --- a/Pods/Starscream/Sources/Engine/WSEngine.swift +++ b/Pods/Starscream/Sources/Engine/WSEngine.swift @@ -1,10 +1,24 @@ +////////////////////////////////////////////////////////////////////////////////////////////////// // // WSEngine.swift // Starscream // -// Created by Dalton Cherry on 6/15/19. +// Created by Dalton Cherry on 6/15/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 @@ -24,6 +38,7 @@ FrameCollectorDelegate, HTTPHandlerDelegate { private let writeQueue = DispatchQueue(label: "com.vluxe.starscream.writequeue") private let mutex = DispatchSemaphore(value: 1) private var canSend = false + private var isConnecting = false weak var delegate: EngineDelegate? public var respondToPingWithPong: Bool = true @@ -50,9 +65,10 @@ FrameCollectorDelegate, HTTPHandlerDelegate { public func start(request: URLRequest) { mutex.wait() + let isConnecting = self.isConnecting let isConnected = canSend mutex.signal() - if isConnected { + if isConnecting || isConnected { return } @@ -64,6 +80,9 @@ FrameCollectorDelegate, HTTPHandlerDelegate { guard let url = request.url else { return } + mutex.wait() + self.isConnecting = true + mutex.signal() transport.connect(url: url, timeout: request.timeoutInterval, certificatePinning: certPinner) } @@ -79,6 +98,10 @@ FrameCollectorDelegate, HTTPHandlerDelegate { } public func forceStop() { + mutex.wait() + isConnecting = false + mutex.signal() + transport.disconnect() } @@ -139,7 +162,13 @@ FrameCollectorDelegate, HTTPHandlerDelegate { } } case .cancelled: + mutex.wait() + isConnecting = false + mutex.signal() + broadcast(event: .cancelled) + case .peerClosed: + broadcast(event: .peerClosed) } } @@ -153,6 +182,7 @@ FrameCollectorDelegate, HTTPHandlerDelegate { return } mutex.wait() + isConnecting = false didUpgrade = true canSend = true mutex.signal() @@ -225,6 +255,7 @@ FrameCollectorDelegate, HTTPHandlerDelegate { private func reset() { mutex.wait() + isConnecting = false canSend = false didUpgrade = false mutex.signal() diff --git a/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift b/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift index fb024aaa..805a548a 100644 --- a/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift +++ b/Pods/Starscream/Sources/Framer/FoundationHTTPHandler.swift @@ -76,12 +76,6 @@ public class FoundationHTTPHandler: HTTPHandler { 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]() @@ -90,6 +84,13 @@ public class FoundationHTTPHandler: HTTPHandler { headers[key] = value } } + + let code = CFHTTPMessageGetResponseStatusCode(response) + if code != HTTPWSHeader.switchProtocolCode { + delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.notAnUpgrade(code, headers))) + return true + } + delegate?.didReceiveHTTP(event: .success(headers)) return true } diff --git a/Pods/Starscream/Sources/Framer/FrameCollector.swift b/Pods/Starscream/Sources/Framer/FrameCollector.swift index 3ec1084c..1822b0d6 100644 --- a/Pods/Starscream/Sources/Framer/FrameCollector.swift +++ b/Pods/Starscream/Sources/Framer/FrameCollector.swift @@ -22,7 +22,7 @@ import Foundation -public protocol FrameCollectorDelegate: class { +public protocol FrameCollectorDelegate: AnyObject { func didForm(event: FrameCollector.Event) func decompress(data: Data, isFinal: Bool) -> Data? } diff --git a/Pods/Starscream/Sources/Framer/Framer.swift b/Pods/Starscream/Sources/Framer/Framer.swift index f77d5b80..049e4e17 100644 --- a/Pods/Starscream/Sources/Framer/Framer.swift +++ b/Pods/Starscream/Sources/Framer/Framer.swift @@ -71,7 +71,7 @@ public enum FrameEvent { case error(Error) } -public protocol FramerEventClient: class { +public protocol FramerEventClient: AnyObject { func frameProcessed(event: FrameEvent) } @@ -159,7 +159,7 @@ public class WSFramer: Framer { 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) + let isControlFrame = (opcode == .connectionClose || opcode == .ping || opcode == .pong) if !isControlFrame && (opcode != .binaryFrame && opcode != .continueFrame && opcode != .textFrame && opcode != .pong) { let errCode = CloseCode.protocolError.rawValue diff --git a/Pods/Starscream/Sources/Framer/HTTPHandler.swift b/Pods/Starscream/Sources/Framer/HTTPHandler.swift index 70941e75..488dd030 100644 --- a/Pods/Starscream/Sources/Framer/HTTPHandler.swift +++ b/Pods/Starscream/Sources/Framer/HTTPHandler.swift @@ -23,7 +23,7 @@ import Foundation public enum HTTPUpgradeError: Error { - case notAnUpgrade(Int) + case notAnUpgrade(Int, [String: String]) case invalidData } @@ -67,12 +67,14 @@ public struct HTTPWSHeader { 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 req.allHTTPHeaderFields?["Cookie"] == nil { + 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" @@ -94,7 +96,7 @@ public enum HTTPEvent { case failure(Error) } -public protocol HTTPHandlerDelegate: class { +public protocol HTTPHandlerDelegate: AnyObject { func didReceiveHTTP(event: HTTPEvent) } @@ -104,7 +106,7 @@ public protocol HTTPHandler { func parse(data: Data) -> Int } -public protocol HTTPServerDelegate: class { +public protocol HTTPServerDelegate: AnyObject { func didReceive(event: HTTPEvent) } diff --git a/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift b/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift index 33f5f9be..ed8e32d5 100644 --- a/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift +++ b/Pods/Starscream/Sources/Framer/StringHTTPHandler.swift @@ -110,7 +110,7 @@ public class StringHTTPHandler: HTTPHandler { } if code != HTTPWSHeader.switchProtocolCode { - delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.notAnUpgrade(code))) + delegate?.didReceiveHTTP(event: .failure(HTTPUpgradeError.notAnUpgrade(code, headers))) return true } diff --git a/Pods/Starscream/Sources/Security/FoundationSecurity.swift b/Pods/Starscream/Sources/Security/FoundationSecurity.swift index c4dde8ce..a9a9505a 100644 --- a/Pods/Starscream/Sources/Security/FoundationSecurity.swift +++ b/Pods/Starscream/Sources/Security/FoundationSecurity.swift @@ -44,9 +44,7 @@ extension FoundationSecurity: CertificatePinning { return } - if let validateDomain = domain { - SecTrustSetPolicies(trust, SecPolicyCreateSSL(true, validateDomain as NSString?)) - } + SecTrustSetPolicies(trust, SecPolicyCreateSSL(true, domain as NSString?)) handleSecurityTrust(trust: trust, completion: completion) } diff --git a/Pods/Starscream/Sources/Security/Security.swift b/Pods/Starscream/Sources/Security/Security.swift index a64a7713..d83a6bda 100644 --- a/Pods/Starscream/Sources/Security/Security.swift +++ b/Pods/Starscream/Sources/Security/Security.swift @@ -34,12 +34,12 @@ public enum PinningState { // CertificatePinning protocol provides an interface for Transports to handle Certificate // or Public Key Pinning. -public protocol CertificatePinning: class { +public protocol CertificatePinning: AnyObject { 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 { +public protocol HeaderValidator: AnyObject { func validate(headers: [String: String], key: String) -> Error? } diff --git a/Pods/Starscream/Sources/Server/Server.swift b/Pods/Starscream/Sources/Server/Server.swift index 527c851d..64cf561d 100644 --- a/Pods/Starscream/Sources/Server/Server.swift +++ b/Pods/Starscream/Sources/Server/Server.swift @@ -36,7 +36,7 @@ public protocol Connection { func write(data: Data, opcode: FrameOpCode) } -public protocol ConnectionDelegate: class { +public protocol ConnectionDelegate: AnyObject { func didReceive(event: ServerEvent) } diff --git a/Pods/Starscream/Sources/Server/WebSocketServer.swift b/Pods/Starscream/Sources/Server/WebSocketServer.swift index 4d3b9af5..78657806 100644 --- a/Pods/Starscream/Sources/Server/WebSocketServer.swift +++ b/Pods/Starscream/Sources/Server/WebSocketServer.swift @@ -138,6 +138,8 @@ public class ServerConnection: Connection, HTTPServerDelegate, FramerEventClient case .cancelled: print("server connection cancelled!") //broadcast(event: .cancelled) + case .peerClosed: + delegate?.didReceive(event: .disconnected(self, "Connection closed by peer", UInt16(FrameOpCode.connectionClose.rawValue))) } } diff --git a/Pods/Starscream/Sources/Starscream/WebSocket.swift b/Pods/Starscream/Sources/Starscream/WebSocket.swift index 1d3545c3..2f529a5c 100644 --- a/Pods/Starscream/Sources/Starscream/WebSocket.swift +++ b/Pods/Starscream/Sources/Starscream/WebSocket.swift @@ -41,7 +41,7 @@ public struct WSError: Error { } } -public protocol WebSocketClient: class { +public protocol WebSocketClient: AnyObject { func connect() func disconnect(closeCode: UInt16) func write(string: String, completion: (() -> ())?) @@ -85,10 +85,11 @@ public enum WebSocketEvent { case viabilityChanged(Bool) case reconnectSuggested(Bool) case cancelled + case peerClosed } -public protocol WebSocketDelegate: class { - func didReceive(event: WebSocketEvent, client: WebSocket) +public protocol WebSocketDelegate: AnyObject { + func didReceive(event: WebSocketEvent, client: WebSocketClient) } open class WebSocket: WebSocketClient, EngineDelegate { @@ -110,11 +111,6 @@ open class WebSocket: WebSocketClient, EngineDelegate { } } - // 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 diff --git a/Pods/Starscream/Sources/Transport/TCPTransport.swift b/Pods/Starscream/Sources/Transport/TCPTransport.swift index 459cb2ed..27e951c0 100644 --- a/Pods/Starscream/Sources/Transport/TCPTransport.swift +++ b/Pods/Starscream/Sources/Transport/TCPTransport.swift @@ -35,7 +35,11 @@ public class TCPTransport: Transport { private weak var delegate: TransportEventClient? private var isRunning = false private var isTLS = false - + + deinit { + disconnect() + } + public var usingTLS: Bool { return self.isTLS } @@ -85,6 +89,7 @@ public class TCPTransport: Transport { public func disconnect() { isRunning = false connection?.cancel() + connection = nil } public func register(delegate: TransportEventClient) { @@ -144,6 +149,13 @@ public class TCPTransport: Transport { // Refer to https://developer.apple.com/documentation/network/implementing_netcat_with_network_framework if let context = context, context.isFinal, isComplete { + if let delegate = s.delegate { + // Let the owner of this TCPTransport decide what to do next: disconnect or reconnect? + delegate.connectionChanged(state: .peerClosed) + } else { + // No use to keep connection alive + s.disconnect() + } return } diff --git a/Pods/Starscream/Sources/Transport/Transport.swift b/Pods/Starscream/Sources/Transport/Transport.swift index e645651f..8a101a4a 100644 --- a/Pods/Starscream/Sources/Transport/Transport.swift +++ b/Pods/Starscream/Sources/Transport/Transport.swift @@ -1,7 +1,5 @@ ////////////////////////////////////////////////////////////////////////////////////////////////// // -////////////////////////////////////////////////////////////////////////////////////////////////// -// // Transport.swift // Starscream // @@ -25,28 +23,38 @@ import Foundation public enum ConnectionState { + /// Ready connections can send and receive data case connected + + /// Waiting connections have not yet been started, or do not have a viable network case waiting + + /// Cancelled connections have been invalidated by the client and will send no more events case cancelled + + /// Failed connections are disconnected and can no longer send or receive data case failed(Error?) - //the viability (connection status) of the connection has updated - //e.g. connection is down, connection came back up, etc + /// 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 + /// Connection ca be upgraded to wifi from cellular. + /// You should consider reconnecting to take advantage of this. case shouldReconnect(Bool) - //the connection receive data + /// Received data case receive(Data) + + /// Remote peer has closed the network connection. + case peerClosed } -public protocol TransportEventClient: class { +public protocol TransportEventClient: AnyObject { func connectionChanged(state: ConnectionState) } -public protocol Transport: class { +public protocol Transport: AnyObject { func register(delegate: TransportEventClient) func connect(url: URL, timeout: Double, certificatePinning: CertificatePinning?) func disconnect() 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..9efbecba 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.markdown @@ -57,7 +57,7 @@ SOFTWARE. Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..50be0672 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample-acknowledgements.plist @@ -80,7 +80,7 @@ SOFTWARE. Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..192f1b7e 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.debug.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..192f1b7e 100644 --- a/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRTCSample/Pods-AppSyncRTCSample.release.xcconfig @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..6e55b236 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 @@ -7,7 +7,7 @@ This application makes use of the following third party libraries: Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..1fe1636b 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 @@ -18,7 +18,7 @@ Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..072c529f 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 @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..072c529f 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 @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..6e55b236 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.markdown @@ -7,7 +7,7 @@ This application makes use of the following third party libraries: Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..1fe1636b 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient-acknowledgements.plist @@ -18,7 +18,7 @@ Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..bee33a1c 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.debug.xcconfig @@ -3,7 +3,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..bee33a1c 100644 --- a/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig +++ b/Pods/Target Support Files/Pods-AppSyncRealTimeClient/Pods-AppSyncRealTimeClient.release.xcconfig @@ -3,7 +3,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..9efbecba 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 @@ -57,7 +57,7 @@ SOFTWARE. Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..50be0672 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 @@ -80,7 +80,7 @@ SOFTWARE. Version 2.0, January 2004 http://www.apache.org/licenses/ - Copyright (c) 2014-2016 Dalton Cherry. + Copyright (c) 2014-2023 Dalton Cherry. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 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..072c529f 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 @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} 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..072c529f 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 @@ -4,7 +4,7 @@ FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Starscrea 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 +LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift OTHER_LDFLAGS = $(inherited) -framework "Starscream" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} diff --git a/Pods/Target Support Files/Starscream/Starscream-Info.plist b/Pods/Target Support Files/Starscream/Starscream-Info.plist index b88155c6..de721410 100644 --- a/Pods/Target Support Files/Starscream/Starscream-Info.plist +++ b/Pods/Target Support Files/Starscream/Starscream-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.0.4 + 4.0.6 CFBundleSignature ???? CFBundleVersion diff --git a/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig b/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig index b4844ade..03734c33 100644 --- a/Pods/Target Support Files/Starscream/Starscream.debug.xcconfig +++ b/Pods/Target Support Files/Starscream/Starscream.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}/Starscream 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/Starscream/Starscream.release.xcconfig b/Pods/Target Support Files/Starscream/Starscream.release.xcconfig index b4844ade..03734c33 100644 --- a/Pods/Target Support Files/Starscream/Starscream.release.xcconfig +++ b/Pods/Target Support Files/Starscream/Starscream.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}/Starscream 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.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