diff --git a/Example/.idea/.gitignore b/Example/.idea/.gitignore deleted file mode 100644 index 5c98b42..0000000 --- a/Example/.idea/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Default ignored files -/workspace.xml \ No newline at end of file diff --git a/Example/.idea/.name b/Example/.idea/.name deleted file mode 100644 index 493c0e7..0000000 --- a/Example/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -OnlineChatSdk \ No newline at end of file diff --git a/Example/.idea/Example.iml b/Example/.idea/Example.iml deleted file mode 100644 index 74121dc..0000000 --- a/Example/.idea/Example.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Example/.idea/misc.xml b/Example/.idea/misc.xml deleted file mode 100644 index f2e2a1f..0000000 --- a/Example/.idea/misc.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/Example/.idea/modules.xml b/Example/.idea/modules.xml deleted file mode 100644 index 545a376..0000000 --- a/Example/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Example/.idea/runConfigurations/OnlineChatSdk_Example.xml b/Example/.idea/runConfigurations/OnlineChatSdk_Example.xml deleted file mode 100644 index d944702..0000000 --- a/Example/.idea/runConfigurations/OnlineChatSdk_Example.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/Example/.idea/vcs.xml b/Example/.idea/vcs.xml deleted file mode 100644 index 6c0b863..0000000 --- a/Example/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Example/.idea/xcode.xml b/Example/.idea/xcode.xml deleted file mode 100644 index 35dab42..0000000 --- a/Example/.idea/xcode.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Example/OnlineChatSdk.xcodeproj/project.pbxproj b/Example/OnlineChatSdk.xcodeproj/project.pbxproj deleted file mode 100644 index 527ba77..0000000 --- a/Example/OnlineChatSdk.xcodeproj/project.pbxproj +++ /dev/null @@ -1,588 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 1677A5E4F97DA7B46BF66DE9 /* Pods_OnlineChatSdk_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3287FCAB23B414563DF3B97 /* Pods_OnlineChatSdk_Tests.framework */; }; - 4AFC4ED62380393100311823 /* DemoController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AFC4ED52380393100311823 /* DemoController.swift */; }; - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; - D913888B6DABE26070A71D60 /* Pods_OnlineChatSdk_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D2ECC2E80F036AF352E04FC /* Pods_OnlineChatSdk_Example.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 607FACC81AFB9204008FA782 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 607FACCF1AFB9204008FA782; - remoteInfo = OnlineChatSdk; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 3D829D3F17DF569E648A2B1B /* Pods-OnlineChatSdk_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OnlineChatSdk_Example.debug.xcconfig"; path = "Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.debug.xcconfig"; sourceTree = ""; }; - 4AFC4ED52380393100311823 /* DemoController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoController.swift; sourceTree = ""; }; - 607FACD01AFB9204008FA782 /* OnlineChatSdk_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OnlineChatSdk_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 607FACE51AFB9204008FA782 /* OnlineChatSdk_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OnlineChatSdk_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; - 7BB13430D00A990F7C5E3735 /* Pods-OnlineChatSdk_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OnlineChatSdk_Example.release.xcconfig"; path = "Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.release.xcconfig"; sourceTree = ""; }; - 8E6D4BEC8016AE957173DD22 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 9D2ECC2E80F036AF352E04FC /* Pods_OnlineChatSdk_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OnlineChatSdk_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A2C430FFD3BCBC25E1E6E101 /* OnlineChatSdk.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = OnlineChatSdk.podspec; path = ../OnlineChatSdk.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - A8E7F2B116B7D61FCC8DAE68 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OnlineChatSdk_Tests.debug.xcconfig"; path = "Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.debug.xcconfig"; sourceTree = ""; }; - AADCD53C7E43EB604258365C /* Pods-OnlineChatSdk_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OnlineChatSdk_Tests.release.xcconfig"; path = "Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.release.xcconfig"; sourceTree = ""; }; - B13516076E6B5977CDF46840 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - D3287FCAB23B414563DF3B97 /* Pods_OnlineChatSdk_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OnlineChatSdk_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 607FACCD1AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - D913888B6DABE26070A71D60 /* Pods_OnlineChatSdk_Example.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE21AFB9204008FA782 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 1677A5E4F97DA7B46BF66DE9 /* Pods_OnlineChatSdk_Tests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 4307C45160874A68133D6E5C /* Pods */ = { - isa = PBXGroup; - children = ( - 3D829D3F17DF569E648A2B1B /* Pods-OnlineChatSdk_Example.debug.xcconfig */, - 7BB13430D00A990F7C5E3735 /* Pods-OnlineChatSdk_Example.release.xcconfig */, - A8E7F2B116B7D61FCC8DAE68 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */, - AADCD53C7E43EB604258365C /* Pods-OnlineChatSdk_Tests.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; - 607FACC71AFB9204008FA782 = { - isa = PBXGroup; - children = ( - 607FACF51AFB993E008FA782 /* Podspec Metadata */, - 607FACD21AFB9204008FA782 /* Example for OnlineChatSdk */, - 607FACE81AFB9204008FA782 /* Tests */, - 607FACD11AFB9204008FA782 /* Products */, - 4307C45160874A68133D6E5C /* Pods */, - EBA42919BD16E6733F14D3AB /* Frameworks */, - ); - sourceTree = ""; - }; - 607FACD11AFB9204008FA782 /* Products */ = { - isa = PBXGroup; - children = ( - 607FACD01AFB9204008FA782 /* OnlineChatSdk_Example.app */, - 607FACE51AFB9204008FA782 /* OnlineChatSdk_Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 607FACD21AFB9204008FA782 /* Example for OnlineChatSdk */ = { - isa = PBXGroup; - children = ( - 607FACD51AFB9204008FA782 /* AppDelegate.swift */, - 607FACD71AFB9204008FA782 /* ViewController.swift */, - 607FACD91AFB9204008FA782 /* Main.storyboard */, - 607FACDC1AFB9204008FA782 /* Images.xcassets */, - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, - 607FACD31AFB9204008FA782 /* Supporting Files */, - 4AFC4ED52380393100311823 /* DemoController.swift */, - ); - name = "Example for OnlineChatSdk"; - path = OnlineChatSdk; - sourceTree = ""; - }; - 607FACD31AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACD41AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACE81AFB9204008FA782 /* Tests */ = { - isa = PBXGroup; - children = ( - 607FACEB1AFB9204008FA782 /* Tests.swift */, - 607FACE91AFB9204008FA782 /* Supporting Files */, - ); - path = Tests; - sourceTree = ""; - }; - 607FACE91AFB9204008FA782 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 607FACEA1AFB9204008FA782 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - A2C430FFD3BCBC25E1E6E101 /* OnlineChatSdk.podspec */, - B13516076E6B5977CDF46840 /* README.md */, - 8E6D4BEC8016AE957173DD22 /* LICENSE */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - EBA42919BD16E6733F14D3AB /* Frameworks */ = { - isa = PBXGroup; - children = ( - 9D2ECC2E80F036AF352E04FC /* Pods_OnlineChatSdk_Example.framework */, - D3287FCAB23B414563DF3B97 /* Pods_OnlineChatSdk_Tests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 607FACCF1AFB9204008FA782 /* OnlineChatSdk_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "OnlineChatSdk_Example" */; - buildPhases = ( - F9BE862480E8C46BF6BA8A96 /* [CP] Check Pods Manifest.lock */, - 607FACCC1AFB9204008FA782 /* Sources */, - 607FACCD1AFB9204008FA782 /* Frameworks */, - 607FACCE1AFB9204008FA782 /* Resources */, - 8E8B3272935672CDB865BC6F /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = OnlineChatSdk_Example; - productName = OnlineChatSdk; - productReference = 607FACD01AFB9204008FA782 /* OnlineChatSdk_Example.app */; - productType = "com.apple.product-type.application"; - }; - 607FACE41AFB9204008FA782 /* OnlineChatSdk_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "OnlineChatSdk_Tests" */; - buildPhases = ( - 10FBC970A094EDC28D5B764D /* [CP] Check Pods Manifest.lock */, - 607FACE11AFB9204008FA782 /* Sources */, - 607FACE21AFB9204008FA782 /* Frameworks */, - 607FACE31AFB9204008FA782 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 607FACE71AFB9204008FA782 /* PBXTargetDependency */, - ); - name = OnlineChatSdk_Tests; - productName = Tests; - productReference = 607FACE51AFB9204008FA782 /* OnlineChatSdk_Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 607FACC81AFB9204008FA782 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 1120; - ORGANIZATIONNAME = CocoaPods; - TargetAttributes = { - 607FACCF1AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1120; - }; - 607FACE41AFB9204008FA782 = { - CreatedOnToolsVersion = 6.3.1; - LastSwiftMigration = 1120; - TestTargetID = 607FACCF1AFB9204008FA782; - }; - }; - }; - buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "OnlineChatSdk" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 607FACC71AFB9204008FA782; - productRefGroup = 607FACD11AFB9204008FA782 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 607FACCF1AFB9204008FA782 /* OnlineChatSdk_Example */, - 607FACE41AFB9204008FA782 /* OnlineChatSdk_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 607FACCE1AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, - 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, - 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE31AFB9204008FA782 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 10FBC970A094EDC28D5B764D /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OnlineChatSdk_Tests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - 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; - }; - 8E8B3272935672CDB865BC6F /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/OnlineChatSdk/OnlineChatSdk.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OnlineChatSdk.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - F9BE862480E8C46BF6BA8A96 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OnlineChatSdk_Example-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - 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; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 607FACCC1AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4AFC4ED62380393100311823 /* DemoController.swift in Sources */, - 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, - 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 607FACE11AFB9204008FA782 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 607FACCF1AFB9204008FA782 /* OnlineChatSdk_Example */; - targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 607FACD91AFB9204008FA782 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 607FACDA1AFB9204008FA782 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - 607FACDF1AFB9204008FA782 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 607FACED1AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - 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.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 607FACEE1AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 607FACF01AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3D829D3F17DF569E648A2B1B /* Pods-OnlineChatSdk_Example.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = OnlineChatSdk/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 607FACF11AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7BB13430D00A990F7C5E3735 /* Pods-OnlineChatSdk_Example.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - INFOPLIST_FILE = OnlineChatSdk/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 607FACF31AFB9204008FA782 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A8E7F2B116B7D61FCC8DAE68 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OnlineChatSdk_Example.app/OnlineChatSdk_Example"; - }; - name = Debug; - }; - 607FACF41AFB9204008FA782 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = AADCD53C7E43EB604258365C /* Pods-OnlineChatSdk_Tests.release.xcconfig */; - buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OnlineChatSdk_Example.app/OnlineChatSdk_Example"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "OnlineChatSdk" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACED1AFB9204008FA782 /* Debug */, - 607FACEE1AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "OnlineChatSdk_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF01AFB9204008FA782 /* Debug */, - 607FACF11AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "OnlineChatSdk_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 607FACF31AFB9204008FA782 /* Debug */, - 607FACF41AFB9204008FA782 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 607FACC81AFB9204008FA782 /* Project object */; -} diff --git a/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1100e8c..0000000 --- a/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Example/OnlineChatSdk.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Example/OnlineChatSdk.xcodeproj/xcshareddata/xcschemes/OnlineChatSdk-Example.xcscheme b/Example/OnlineChatSdk.xcodeproj/xcshareddata/xcschemes/OnlineChatSdk-Example.xcscheme deleted file mode 100644 index aed6bbb..0000000 --- a/Example/OnlineChatSdk.xcodeproj/xcshareddata/xcschemes/OnlineChatSdk-Example.xcscheme +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/OnlineChatSdk.xcworkspace/contents.xcworkspacedata b/Example/OnlineChatSdk.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 9436e2f..0000000 --- a/Example/OnlineChatSdk.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/Example/OnlineChatSdk.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/OnlineChatSdk.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Example/OnlineChatSdk.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Example/OnlineChatSdk/AppDelegate.swift b/Example/OnlineChatSdk/AppDelegate.swift deleted file mode 100644 index 4dd9e3a..0000000 --- a/Example/OnlineChatSdk/AppDelegate.swift +++ /dev/null @@ -1,43 +0,0 @@ -// -// AppDelegate.swift -// OnlineChatSdk -// -// Created by bekannax on 11/15/2019. -// Copyright (c) 2019 bekannax. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - // Override point for customization after application launch. - return true - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } -} diff --git a/Example/OnlineChatSdk/Base.lproj/LaunchScreen.xib b/Example/OnlineChatSdk/Base.lproj/LaunchScreen.xib deleted file mode 100644 index 5b9cd57..0000000 --- a/Example/OnlineChatSdk/Base.lproj/LaunchScreen.xib +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/OnlineChatSdk/Base.lproj/Main.storyboard b/Example/OnlineChatSdk/Base.lproj/Main.storyboard deleted file mode 100644 index ec4558b..0000000 --- a/Example/OnlineChatSdk/Base.lproj/Main.storyboard +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/OnlineChatSdk/DemoController.swift b/Example/OnlineChatSdk/DemoController.swift deleted file mode 100644 index e5c35a3..0000000 --- a/Example/OnlineChatSdk/DemoController.swift +++ /dev/null @@ -1,51 +0,0 @@ -// -// DemoController.swift -// OnlineChatSdk_Example -// -// Created by Andrew Blinov on 16.11.2019. -// Copyright © 2019 CocoaPods. All rights reserved. -// - -import Foundation -import WebKit -import OnlineChatSdk - -class DemoController: ChatController { - - override func viewDidLoad() { - super.viewDidLoad() - load("593adecd804fc4e32e7e865d659f2356", "me-talk.ru") - } - - override func onClientId(_ clientId: String) { - - } - - override func onSendRate(_ data: NSDictionary) { - - } - - override func onContactsUpdated(_ data: NSDictionary) { - - } - - override func onClientSendMessage(_ data: NSDictionary) { - - } - - override func onOperatorSendMessage(_ data: NSDictionary) { - super.onOperatorSendMessage(data) - } - - override func onClientMakeSubscribe(_ data: NSDictionary) { - - } - - override func onEvent(_ name: String, _ data: NSDictionary) { - - } - - override func getContactsCallback(_ data: NSDictionary) { - - } -} diff --git a/Example/OnlineChatSdk/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/OnlineChatSdk/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 7006c9e..0000000 --- a/Example/OnlineChatSdk/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/Example/OnlineChatSdk/Info.plist b/Example/OnlineChatSdk/Info.plist deleted file mode 100644 index eb18faa..0000000 --- a/Example/OnlineChatSdk/Info.plist +++ /dev/null @@ -1,39 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - - - diff --git a/Example/OnlineChatSdk/ViewController.swift b/Example/OnlineChatSdk/ViewController.swift deleted file mode 100644 index 3cb22c3..0000000 --- a/Example/OnlineChatSdk/ViewController.swift +++ /dev/null @@ -1,29 +0,0 @@ -// -// ViewController.swift -// OnlineChatSdk -// -// Created by bekannax on 11/15/2019. -// Copyright (c) 2019 bekannax. All rights reserved. -// - -import UIKit - -class ViewController: UIViewController { - - override func viewDidLoad() { - super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. - } - @IBAction func openChat(_ sender: Any) { -// let chatController = storyboard?.instantiateViewController(withIdentifier: "DemoChatController") as! DemoController - let chatController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "DemoChatController") as! DemoController -// navigationController?.pushViewController(chatController, animated: true) - navigationController?.present(chatController, animated: true, completion: nil) - } - - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. - } -} - diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index 3749c4a..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,11 +0,0 @@ -use_frameworks! - -target 'OnlineChatSdk_Example' do - pod 'OnlineChatSdk' -# pod 'OnlineChatSdk', :path => '../' - - target 'OnlineChatSdk_Tests' do - inherit! :search_paths - - end -end diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index 3252106..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,16 +0,0 @@ -PODS: - - OnlineChatSdk (0.0.3) - -DEPENDENCIES: - - OnlineChatSdk - -SPEC REPOS: - trunk: - - OnlineChatSdk - -SPEC CHECKSUMS: - OnlineChatSdk: 421b17a804f22c193f81f02a891e7d91128c525b - -PODFILE CHECKSUM: adee2f574d16e8ed8f504f977cf28d2797543903 - -COCOAPODS: 1.8.4 diff --git a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatApi.swift b/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatApi.swift deleted file mode 100644 index 84c380d..0000000 --- a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatApi.swift +++ /dev/null @@ -1,55 +0,0 @@ -// -// ChatApi.swift -// OnlineChatSdk -// -// Created by Andrew Blinov on 29/03/2019. -// Copyright © 2019 Andrew Blinov. All rights reserved. -// - -import Foundation - -open class ChatApi { - - private func post(_ url: String, _ params: Dictionary, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) { - guard let url = URL(string: url) else { return } - var request = URLRequest(url: url) - request.httpMethod = "POST" - request.addValue("application/json", forHTTPHeaderField: "Content-Type") - guard let httpBody = try? JSONSerialization.data(withJSONObject: params, options: []) else { return } - request.httpBody = httpBody - - let session = URLSession.shared - session.dataTask(with: request, completionHandler: completionHandler).resume() - } - - public func send(_ token: String, _ method: String, _ params: Dictionary, callback: @escaping (NSDictionary?) -> Void) { - let url = "https://admin.verbox.ru/api/chat/\(token)/\(method)" - post(url, params) { (data, response, error) in - guard let data = data else { return } - do { - let json = try JSONSerialization.jsonObject(with: data, options: []) as? NSDictionary - callback(json) - } catch {} - } - } - - public func messages(_ token: String, params: Dictionary, callback: @escaping (NSDictionary?) -> Void) { - send(token, "message", params, callback: callback) - } - - public static func getNewMessages(_ token: String, _ clientId: String, callback: @escaping (NSDictionary?) -> Void) { - let dtFormatter = DateFormatter() - dtFormatter.calendar = Calendar(identifier: Calendar.Identifier.iso8601) - dtFormatter.locale = Locale(identifier: "en") - dtFormatter.dateFormat = "yyyy'-'MM'-'dd'" - dtFormatter.timeZone = TimeZone(secondsFromGMT: 10800) - - let params = [ - "client": ["clientId": clientId], - "sender": "operator", - "status": "unreaded", - "dateRange": ["start": dtFormatter.string(from: Date(timeIntervalSince1970: Date().timeIntervalSince1970 - 86400 * 14)), "stop": dtFormatter.string(from: Date())] - ] as [String : Any] - (ChatApi()).messages(token, params: params, callback: callback) - } -} \ No newline at end of file diff --git a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatController.swift b/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatController.swift deleted file mode 100644 index 5daed16..0000000 --- a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/ChatController.swift +++ /dev/null @@ -1,254 +0,0 @@ -// -// ChatController.swift -// OnlineChatSdk -// -// Created by Andrew Blinov on 22/03/2019. -// Copyright © 2019 Andrew Blinov. All rights reserved. -// - -import UIKit -import WebKit -import AVFoundation - -open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessageHandler { - - public static let version = "0.0.4"; - - public static let event_operatorSendMessage = "operatorSendMessage"; - public static let event_clientSendMessage = "clientSendMessage"; - public static let event_clientMakeSubscribe = "clientMakeSubscribe"; - public static let event_contactsUpdated = "contactsUpdated"; - public static let event_sendRate = "sendRate"; - public static let event_clientId = "clientId"; - - public static let method_setClientInfo = "setClientInfo"; - public static let method_setTarget = "setTarget"; - public static let method_openReviewsTab = "openReviewsTab"; - public static let method_openTab = "openTab"; - public static let method_sendMessage = "sendMessage"; - public static let method_receiveMessage = "receiveMessage"; - public static let method_setOperator = "setOperator"; - public static let method_getContacts = "getContacts"; - - public var chatView: WKWebView! - private var callJs: Array! - private var didFinish: Bool = false - - override public func loadView() { - let contentController = WKUserContentController() - contentController.add(self, name: "chatInterface") - - let preferences = WKPreferences() - preferences.javaScriptEnabled = true - preferences.javaScriptCanOpenWindowsAutomatically = true - - let config = WKWebViewConfiguration() - config.userContentController = contentController - config.preferences = preferences - - var frame = UIScreen.main.bounds - if self.parent != nil && self.parent?.view != nil && self.parent?.view.bounds != nil { - frame = (self.parent?.view.bounds)! - } - self.chatView = WKWebView(frame: frame, configuration: config) - self.chatView.navigationDelegate = self - self.view = self.chatView - } - - private func getCallJsMethod(_ name: String, params: Array) -> String { - var res: String = "window.MeTalk('" - res.append(name) - res.append("'") - if params.count > 0 { - for p in params { - res.append(",") - if p is Int { - res.append(String(describing: p)) - } else if p is Command { - res.append((p as! Command).command) - } else { - res.append("'") - res.append(String(describing: p)) - res.append("'") - } - } - } - res.append(")") - return res - } - - private func callJs(_ script: String) { - self.chatView.evaluateJavaScript(script) - } - - private func toJson(_ jsonObj: AnyObject) -> String { - var data:Data? = nil - do { - data = try JSONSerialization.data(withJSONObject: jsonObj, options: JSONSerialization.WritingOptions()); - } catch {} - if data != nil { - return NSString(data: data!, encoding: String.Encoding.utf8.rawValue)! as String - } - return "{}" - } - - public func load(_ id: String, _ domain: String, language: String = "", clientId: String = "") { - var setup: Dictionary = [:] - if !language.isEmpty { - setup["language"] = language - } - if !clientId.isEmpty { - setup["clientId"] = clientId - } - let surl = "https://admin.verbox.ru/support/chat/\(id)/\(domain)" - var url = URL(string: surl) - if !setup.isEmpty { - var urlComponents = URLComponents(url: url!, resolvingAgainstBaseURL: false) - urlComponents?.queryItems = [URLQueryItem(name: "setup", value: toJson(setup as AnyObject))] - url = urlComponents!.url! - } - if url == nil { - url = URL(string: surl) - } - - self.chatView.load(URLRequest(url: url!)) - self.chatView.allowsBackForwardNavigationGestures = true - } - - public func callJsMethod(_ name: String, params: Array) { - if self.didFinish { - callJs(getCallJsMethod(name, params: params)) - } else { - if self.callJs == nil { - self.callJs = [] - } - self.callJs.append(getCallJsMethod(name, params: params)) - } - } - - public func callJsSetClientInfo(_ jsonInfo: String) { - callJsMethod(ChatController.method_setClientInfo, params: [Command(jsonInfo)]) - } - - public func callJsSetTarget(_ reason: String) { - callJsMethod(ChatController.method_setTarget, params: [reason]) - } - - public func callJsOpenReviewsTab() { - callJsMethod(ChatController.method_openReviewsTab, params: []) - } - - public func callJsOpenTab(_ index: Int) { - callJsMethod(ChatController.method_openTab, params: [index]) - } - - public func callJsSendMessage(_ text: String) { - callJsMethod(ChatController.method_sendMessage, params: [text]) - } - - public func callJsReceiveMessage(_ text: String, _ oper: String, _ simulateTyping: Int) { - callJsMethod(ChatController.method_receiveMessage, params: [text, oper, simulateTyping]) - } - - public func callJsSetOperator(_ login: String) { - callJsMethod(ChatController.method_setOperator, params: [login]) - } - - public func callJsGetContacts() { - callJsMethod(ChatController.method_getContacts, params: [Command("window.getContactsCallback")]) - } - - public func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) { - if message.name != "chatInterface" { - return - } - let jsonBody = (message.body as! String).data(using: .utf8)! - let body = try? (JSONSerialization.jsonObject(with: jsonBody, options: .mutableLeaves) as! NSDictionary) - if body == nil { - return - } - if body!["name"] == nil { - return - } - var data: NSDictionary? - if body!["data"] != nil { - data = (body!["data"] as! NSDictionary) - } else { - data = [:] - } - - if (!self.didFinish) { - if self.callJs != nil && !self.callJs.isEmpty { - for script in self.callJs { - callJs(script) - } - self.callJs = nil - } - self.didFinish = true - } - - let name = body!["name"] as! String - switch name { - case ChatController.event_clientId: - onClientId(data!["clientId"] != nil ? data!["clientId"] as! String : "") - break - case ChatController.event_sendRate: - onSendRate(data!) - break - case ChatController.event_contactsUpdated: - onContactsUpdated(data!) - break - case ChatController.event_clientSendMessage: - onClientSendMessage(data!) - break - case ChatController.event_clientMakeSubscribe: - onClientMakeSubscribe(data!) - break - case ChatController.event_operatorSendMessage: - onOperatorSendMessage(data!) - break - case ChatController.method_getContacts: - getContactsCallback(data!) - break - default: - break - } - onEvent(name, data!) - } - - open func playSound(_ systemSoundId: SystemSoundID) { - AudioServicesPlaySystemSound(systemSoundId) - } - - open func onClientId(_ clientId: String) { - - } - - open func onSendRate(_ data: NSDictionary) { - - } - - open func onContactsUpdated(_ data: NSDictionary) { - - } - - open func onClientSendMessage(_ data: NSDictionary) { - - } - - open func onClientMakeSubscribe(_ data: NSDictionary) { - - } - - open func onOperatorSendMessage(_ data: NSDictionary) { - self.playSound(1315) - } - - open func onEvent(_ name: String, _ data: NSDictionary) { - - } - - open func getContactsCallback(_ data: NSDictionary) { - - } -} diff --git a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/Command.swift b/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/Command.swift deleted file mode 100644 index f0f5c7b..0000000 --- a/Example/Pods/OnlineChatSdk/OnlineChatSdk/Classes/Command.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// Command.swift -// OnlineChatSdk -// -// Created by Andrew Blinov on 26/03/2019. -// Copyright © 2019 Andrew Blinov. All rights reserved. -// - -import Foundation - -public struct Command { - let command: String - - init(_ command: String) { - self.command = command - } -} \ No newline at end of file diff --git a/Example/Pods/OnlineChatSdk/README.md b/Example/Pods/OnlineChatSdk/README.md deleted file mode 100644 index 111cf59..0000000 --- a/Example/Pods/OnlineChatSdk/README.md +++ /dev/null @@ -1,141 +0,0 @@ -# OnlineChatSdk-Swift -[![Version](https://img.shields.io/cocoapods/v/OnlineChatSdk.svg?style=flat)](https://cocoapods.org/pods/OnlineChatSdk) -[![License](https://img.shields.io/cocoapods/l/OnlineChatSdk.svg?style=flat)](https://cocoapods.org/pods/OnlineChatSdk) -![Platform](https://img.shields.io/cocoapods/p/SwiftMessages.svg?style=flat) - -## Добавление в проект - -pod 'OnlineChatSdk' - -## Получение id -Перейдите в раздел «Настройки - Установка» и скопируйте значение переменной id. -![](https://github.com/bekannax/OnlineChatSdk-Android/blob/master/images/2019-03-21_16-53-28.png) - -## Пример использования -Добавьте свой **ViewController** с суперклассом `ChatController`. -```swift -class MyController: ChatController { - - override func viewDidLoad() { - super.viewDidLoad() - load("<Ваш id>", "<Домен вашего сайта>") - } -} -``` -Так же при загрузке можно указать **language** и **clientId**. -```swift -load("<Ваш id>", "<Домен вашего сайта>", "en", "newClientId") -``` - -## События - * **operatorSendMessage** - оператор отправил сообщение посетителю. - * **clientSendMessage** - посетитель отправил сообщение оператору. - * **clientMakeSubscribe** - посетитель заполнил форму. - * **contactsUpdated** - посетитель обновил информацию о себе. - * **sendRate** - посетитель отправил новый отзыв. - * **clientId** - уникальный идентификатор посетителя. - -Для каждого события есть персональный обработчик. -```swift -override func onOperatorSendMessage(_ data: NSDictionary) { - -} - -override func onClientSendMessage(_ data: NSDictionary) { - -} - -override func onClientMakeSubscribe(_ data: NSDictionary) { - -} - -override func onContactsUpdated(_ data: NSDictionary) { - -} - -override func onSendRate(_ data: NSDictionary) { - -} - -override func onClientId(_ clientId: String) { - -} -``` -Или можно задать один обработчик на все события. -```swift -override func onEvent(_ name: String, _ data: NSDictionary) { - switch name { - case ChatController.event_operatorSendMessage: - break - case ChatController.event_clientSendMessage: - break - case ChatController.event_clientMakeSubscribe: - break - case ChatController.event_contactsUpdated: - break - case ChatController.event_sendRate: - break - case ChatController.event_clientId: - break - case ChatController.method_getContacts: - break - default: - break - } -} -``` - -## Методы - * **setClientInfo** - изменение информации о посетителе. - * **setTarget** - пометить посетителя целевым. - * **openReviewsTab** - отобразить форму для отзыва. - * **openTab** - отобразить необходимую вкладку. - * **sendMessage** - отправка сообщения от имени клиента. - * **receiveMessage** - отправка сообщения от имени оператора. - * **setOperator** - выбор любого оператора. - * **getContacts** - получение контактных данных. - -```swift -callJsSetClientInfo("{name: \"Имя\", email: \"test@mail.ru\"") - -callJsSetTarget("reason") - -callJsOpenReviewsTab() - -callJsOpenTab(1) - -callJsSendMessage("Здравствуйте! У меня серьёзная проблема!") - -callJsReceiveMessage("Мы уже спешим на помощь ;)", "", 2000) - -callJsSetOperator("Логин оператора") - -callJsGetContacts() // результат прилетает в getContactsCallback -override func getContactsCallback(_ data: NSDictionary) { - -} -``` -Подробное описание методов можно прочесть в разделе «Интеграция и API - Javascript API». - -## Получение token -Перейдите в раздел «Интеграция и API - REST API», скопируйте существующий token или добавьте новый. -![](https://github.com/bekannax/OnlineChatSdk-Android/blob/master/images/2019-04-01_18-32-22.png) - -## ChatApi -**getNewMessages** - получение новых сообщений от оператора. - -```swift -ChatApi.getNewMessages("", "") - {(result) in - if result?["error"] != nil { - print("error : \(String(describing: result?["error"]))") - } else { - print("result : \(result.debugDescription)") - } - } -``` -Подробное описание можно прочесть в разделе «Интеграция и API - REST API - Инструкции по подключению». - -## License - -OnlineChatSdk is available under the MIT license. See the LICENSE file for more info. diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index ea0807b..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,763 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0A91DF6F84B8ADDA1B6B57B93F651F43 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; - 4E480B796AAF0D0485296B48F2ABD33E /* OnlineChatSdk-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F91AAC6EE0D0C01F9BC0EA75C20662DA /* OnlineChatSdk-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7587E97BF506974AF6F6A49B78EF08AF /* Pods-OnlineChatSdk_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A922434E0906B6862B74C406DC2376ED /* Pods-OnlineChatSdk_Example-dummy.m */; }; - 877616D4221488CAAC0CCB65106F92EF /* Command.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69A337190E55388F136F93591544647A /* Command.swift */; }; - 8A0B9EB8991D1B53E1CCC6C966D1BA52 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; - 8A4D7BAAB47A2BC73DB2649DC570DE6E /* Pods-OnlineChatSdk_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8ECBD7A2D1C2D4C8EA1D7D37BA41D12B /* Pods-OnlineChatSdk_Tests-dummy.m */; }; - 8C8125106158BBAF730EC093C787BD72 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; - A8D871164B5ED343D9FF5AB0EBE88192 /* Pods-OnlineChatSdk_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 575DA55EF4BC56E2E7F9127ABE7A28E3 /* Pods-OnlineChatSdk_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B61DE444BE1EB7C89513A66F1599ED13 /* ChatController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F27FF4B251DA7687A6342AA2C5F63511 /* ChatController.swift */; }; - D57077F1B4219D4B130032D181180A24 /* ChatApi.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA792EA804CC924166DA19EDC31FF185 /* ChatApi.swift */; }; - E755A5301CE9F36554E6BED5D1C46CF5 /* OnlineChatSdk-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F700F8C22EFB0D1F687C39E10496F889 /* OnlineChatSdk-dummy.m */; }; - FFFDD6C7C2E28FF39D79303DB06AE023 /* Pods-OnlineChatSdk_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1CEA9A7827573BC146B1DB56F7574206 /* Pods-OnlineChatSdk_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - D6705DFE1A69E0869352E35AEB0D94BD /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = EE49958FF486FC5404A5724C7D94C8D0; - remoteInfo = "Pods-OnlineChatSdk_Example"; - }; - FDEE491E399E8BEAE907A42158C78B11 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 703A72276AA799D9F6776AF21F9FBBC1; - remoteInfo = OnlineChatSdk; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 00DDA13354DCA4F40F1997FDADA7CA42 /* OnlineChatSdk.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = OnlineChatSdk.framework; path = OnlineChatSdk.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 01A4A5141B00DF728F32412BCEB66D36 /* Pods-OnlineChatSdk_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OnlineChatSdk_Example-acknowledgements.plist"; sourceTree = ""; }; - 0636A28B8875BEB23AFE9AEC4C2FD9D2 /* OnlineChatSdk-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OnlineChatSdk-prefix.pch"; sourceTree = ""; }; - 18FAAAB49C908B7AEC33FF4BAA2A71A3 /* Pods-OnlineChatSdk_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OnlineChatSdk_Tests-acknowledgements.markdown"; sourceTree = ""; }; - 1CEA9A7827573BC146B1DB56F7574206 /* Pods-OnlineChatSdk_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OnlineChatSdk_Tests-umbrella.h"; sourceTree = ""; }; - 2F1CED22613F2AAE9BD6A2C3831E4DA6 /* Pods-OnlineChatSdk_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OnlineChatSdk_Example-acknowledgements.markdown"; sourceTree = ""; }; - 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 325DA660D42FA1E563623E4E3CDB13C3 /* Pods-OnlineChatSdk_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OnlineChatSdk_Example.debug.xcconfig"; sourceTree = ""; }; - 3E4270A75BF9FC99FDED4F358A946957 /* Pods-OnlineChatSdk_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OnlineChatSdk_Example.release.xcconfig"; sourceTree = ""; }; - 3F9D8182090913B398FB960F9C47D364 /* Pods_OnlineChatSdk_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_OnlineChatSdk_Example.framework; path = "Pods-OnlineChatSdk_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 4401824B3B3252BFD1BA60B611A787BD /* OnlineChatSdk-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "OnlineChatSdk-Info.plist"; sourceTree = ""; }; - 4F0D5C8AD6FC51F8A0A965EA5CC573BD /* Pods-OnlineChatSdk_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OnlineChatSdk_Example-Info.plist"; sourceTree = ""; }; - 54E37E458C0AC465CBB829C9E07E70E9 /* Pods_OnlineChatSdk_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_OnlineChatSdk_Tests.framework; path = "Pods-OnlineChatSdk_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 575DA55EF4BC56E2E7F9127ABE7A28E3 /* Pods-OnlineChatSdk_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OnlineChatSdk_Example-umbrella.h"; sourceTree = ""; }; - 57A58A24AE74BA497984E7E58FE91E86 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OnlineChatSdk_Tests.debug.xcconfig"; sourceTree = ""; }; - 69A337190E55388F136F93591544647A /* Command.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Command.swift; path = OnlineChatSdk/Classes/Command.swift; sourceTree = ""; }; - 7AC6161C36FC958B693D919BC395D788 /* Pods-OnlineChatSdk_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OnlineChatSdk_Tests.release.xcconfig"; sourceTree = ""; }; - 7BB36BD6A86A14876EAB570446FC3C67 /* Pods-OnlineChatSdk_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OnlineChatSdk_Tests-acknowledgements.plist"; sourceTree = ""; }; - 8ECBD7A2D1C2D4C8EA1D7D37BA41D12B /* Pods-OnlineChatSdk_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OnlineChatSdk_Tests-dummy.m"; 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; }; - A47B952EB811DA610A668204CBFABD37 /* Pods-OnlineChatSdk_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-OnlineChatSdk_Example.modulemap"; sourceTree = ""; }; - A922434E0906B6862B74C406DC2376ED /* Pods-OnlineChatSdk_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OnlineChatSdk_Example-dummy.m"; sourceTree = ""; }; - BA792EA804CC924166DA19EDC31FF185 /* ChatApi.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ChatApi.swift; path = OnlineChatSdk/Classes/ChatApi.swift; sourceTree = ""; }; - BC23B9E0CA06CB07FA7528FD552BD74B /* OnlineChatSdk.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OnlineChatSdk.xcconfig; sourceTree = ""; }; - D26B1FE0FAD5C1B7F2E561F5384FB7A4 /* Pods-OnlineChatSdk_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OnlineChatSdk_Tests-Info.plist"; sourceTree = ""; }; - DD9F6331BA9B7BF7C245D8AF59C00335 /* Pods-OnlineChatSdk_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-OnlineChatSdk_Tests.modulemap"; sourceTree = ""; }; - F27FF4B251DA7687A6342AA2C5F63511 /* ChatController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ChatController.swift; path = OnlineChatSdk/Classes/ChatController.swift; sourceTree = ""; }; - F5DB91252681F0CD8600341EC24E1555 /* OnlineChatSdk.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = OnlineChatSdk.modulemap; sourceTree = ""; }; - F700F8C22EFB0D1F687C39E10496F889 /* OnlineChatSdk-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OnlineChatSdk-dummy.m"; sourceTree = ""; }; - F91AAC6EE0D0C01F9BC0EA75C20662DA /* OnlineChatSdk-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OnlineChatSdk-umbrella.h"; sourceTree = ""; }; - FEE534B9BD577A51E2BE7BC4CA07E4B6 /* Pods-OnlineChatSdk_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OnlineChatSdk_Example-frameworks.sh"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 78614699E128AB03F6805700A4F2D50D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0A91DF6F84B8ADDA1B6B57B93F651F43 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - BE98E545D5088AD5FD8DC3122E54E041 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8A0B9EB8991D1B53E1CCC6C966D1BA52 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E144FB3DE4B09B3C96859C17A77CF1C1 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8C8125106158BBAF730EC093C787BD72 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 43C8D64CC46B08513D80E5B080FEABA8 /* Products */ = { - isa = PBXGroup; - children = ( - 00DDA13354DCA4F40F1997FDADA7CA42 /* OnlineChatSdk.framework */, - 3F9D8182090913B398FB960F9C47D364 /* Pods_OnlineChatSdk_Example.framework */, - 54E37E458C0AC465CBB829C9E07E70E9 /* Pods_OnlineChatSdk_Tests.framework */, - ); - name = Products; - sourceTree = ""; - }; - 512BCAA8694CDEF480144D386551FA70 /* Support Files */ = { - isa = PBXGroup; - children = ( - F5DB91252681F0CD8600341EC24E1555 /* OnlineChatSdk.modulemap */, - BC23B9E0CA06CB07FA7528FD552BD74B /* OnlineChatSdk.xcconfig */, - F700F8C22EFB0D1F687C39E10496F889 /* OnlineChatSdk-dummy.m */, - 4401824B3B3252BFD1BA60B611A787BD /* OnlineChatSdk-Info.plist */, - 0636A28B8875BEB23AFE9AEC4C2FD9D2 /* OnlineChatSdk-prefix.pch */, - F91AAC6EE0D0C01F9BC0EA75C20662DA /* OnlineChatSdk-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/OnlineChatSdk"; - sourceTree = ""; - }; - 5DEAF1121F1978943E41E05FFC98FB3E /* Pods-OnlineChatSdk_Example */ = { - isa = PBXGroup; - children = ( - A47B952EB811DA610A668204CBFABD37 /* Pods-OnlineChatSdk_Example.modulemap */, - 2F1CED22613F2AAE9BD6A2C3831E4DA6 /* Pods-OnlineChatSdk_Example-acknowledgements.markdown */, - 01A4A5141B00DF728F32412BCEB66D36 /* Pods-OnlineChatSdk_Example-acknowledgements.plist */, - A922434E0906B6862B74C406DC2376ED /* Pods-OnlineChatSdk_Example-dummy.m */, - FEE534B9BD577A51E2BE7BC4CA07E4B6 /* Pods-OnlineChatSdk_Example-frameworks.sh */, - 4F0D5C8AD6FC51F8A0A965EA5CC573BD /* Pods-OnlineChatSdk_Example-Info.plist */, - 575DA55EF4BC56E2E7F9127ABE7A28E3 /* Pods-OnlineChatSdk_Example-umbrella.h */, - 325DA660D42FA1E563623E4E3CDB13C3 /* Pods-OnlineChatSdk_Example.debug.xcconfig */, - 3E4270A75BF9FC99FDED4F358A946957 /* Pods-OnlineChatSdk_Example.release.xcconfig */, - ); - name = "Pods-OnlineChatSdk_Example"; - path = "Target Support Files/Pods-OnlineChatSdk_Example"; - sourceTree = ""; - }; - 7FA5C36D1F6FBF1BE54A5254CDFFA855 /* Pods */ = { - isa = PBXGroup; - children = ( - DCA59557BAC907B5AAA68839E3B66082 /* OnlineChatSdk */, - ); - name = Pods; - sourceTree = ""; - }; - 80971129FD0FF60FEA29255A0795EA34 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 5DEAF1121F1978943E41E05FFC98FB3E /* Pods-OnlineChatSdk_Example */, - B2CC4C2692486F16641A7B75819A33C2 /* Pods-OnlineChatSdk_Tests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - B2CC4C2692486F16641A7B75819A33C2 /* Pods-OnlineChatSdk_Tests */ = { - isa = PBXGroup; - children = ( - DD9F6331BA9B7BF7C245D8AF59C00335 /* Pods-OnlineChatSdk_Tests.modulemap */, - 18FAAAB49C908B7AEC33FF4BAA2A71A3 /* Pods-OnlineChatSdk_Tests-acknowledgements.markdown */, - 7BB36BD6A86A14876EAB570446FC3C67 /* Pods-OnlineChatSdk_Tests-acknowledgements.plist */, - 8ECBD7A2D1C2D4C8EA1D7D37BA41D12B /* Pods-OnlineChatSdk_Tests-dummy.m */, - D26B1FE0FAD5C1B7F2E561F5384FB7A4 /* Pods-OnlineChatSdk_Tests-Info.plist */, - 1CEA9A7827573BC146B1DB56F7574206 /* Pods-OnlineChatSdk_Tests-umbrella.h */, - 57A58A24AE74BA497984E7E58FE91E86 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */, - 7AC6161C36FC958B693D919BC395D788 /* Pods-OnlineChatSdk_Tests.release.xcconfig */, - ); - name = "Pods-OnlineChatSdk_Tests"; - path = "Target Support Files/Pods-OnlineChatSdk_Tests"; - sourceTree = ""; - }; - C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { - isa = PBXGroup; - children = ( - 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - CF1408CF629C7361332E53B88F7BD30C = { - isa = PBXGroup; - children = ( - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, - D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, - 7FA5C36D1F6FBF1BE54A5254CDFFA855 /* Pods */, - 43C8D64CC46B08513D80E5B080FEABA8 /* Products */, - 80971129FD0FF60FEA29255A0795EA34 /* Targets Support Files */, - ); - sourceTree = ""; - }; - D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C0834CEBB1379A84116EF29F93051C60 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - DCA59557BAC907B5AAA68839E3B66082 /* OnlineChatSdk */ = { - isa = PBXGroup; - children = ( - BA792EA804CC924166DA19EDC31FF185 /* ChatApi.swift */, - F27FF4B251DA7687A6342AA2C5F63511 /* ChatController.swift */, - 69A337190E55388F136F93591544647A /* Command.swift */, - 512BCAA8694CDEF480144D386551FA70 /* Support Files */, - ); - name = OnlineChatSdk; - path = OnlineChatSdk; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 7D141F2D6108170EBF0AC6093B99B82E /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - A8D871164B5ED343D9FF5AB0EBE88192 /* Pods-OnlineChatSdk_Example-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D8BF0246F1777B0F458B5196B0877A15 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4E480B796AAF0D0485296B48F2ABD33E /* OnlineChatSdk-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F1479C4516B9E9E6199DF2362AAD5C5F /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - FFFDD6C7C2E28FF39D79303DB06AE023 /* Pods-OnlineChatSdk_Tests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 703A72276AA799D9F6776AF21F9FBBC1 /* OnlineChatSdk */ = { - isa = PBXNativeTarget; - buildConfigurationList = EEE00C25AF5BC68482C05792FE077251 /* Build configuration list for PBXNativeTarget "OnlineChatSdk" */; - buildPhases = ( - D8BF0246F1777B0F458B5196B0877A15 /* Headers */, - E8CDCAAF8A761E5AAE59BFBC9A11C981 /* Sources */, - BE98E545D5088AD5FD8DC3122E54E041 /* Frameworks */, - 71F1688CD0996F3F229BC9EC3B477A17 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = OnlineChatSdk; - productName = OnlineChatSdk; - productReference = 00DDA13354DCA4F40F1997FDADA7CA42 /* OnlineChatSdk.framework */; - productType = "com.apple.product-type.framework"; - }; - 9DEB3BD6EDAA33CF52E61BAA092E4BB8 /* Pods-OnlineChatSdk_Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 63AE78E86BF0DAF3FB86C3FD1524AEE9 /* Build configuration list for PBXNativeTarget "Pods-OnlineChatSdk_Tests" */; - buildPhases = ( - F1479C4516B9E9E6199DF2362AAD5C5F /* Headers */, - 6E24C1EA167A0E7430C2FB0AA685B8A5 /* Sources */, - E144FB3DE4B09B3C96859C17A77CF1C1 /* Frameworks */, - EE6B9875E8543B129460851CF6520D7A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - A03DF1341F8D913F74004FC7A55EE746 /* PBXTargetDependency */, - ); - name = "Pods-OnlineChatSdk_Tests"; - productName = "Pods-OnlineChatSdk_Tests"; - productReference = 54E37E458C0AC465CBB829C9E07E70E9 /* Pods_OnlineChatSdk_Tests.framework */; - productType = "com.apple.product-type.framework"; - }; - EE49958FF486FC5404A5724C7D94C8D0 /* Pods-OnlineChatSdk_Example */ = { - isa = PBXNativeTarget; - buildConfigurationList = B37F102035B11F4BCF075DE27116005F /* Build configuration list for PBXNativeTarget "Pods-OnlineChatSdk_Example" */; - buildPhases = ( - 7D141F2D6108170EBF0AC6093B99B82E /* Headers */, - E6285BEC29589FD1B6D3908284C27E95 /* Sources */, - 78614699E128AB03F6805700A4F2D50D /* Frameworks */, - 77C028D74381DB0833A480DD58FEC7A9 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 254B992ED9FDA2906743229BA9BC7745 /* PBXTargetDependency */, - ); - name = "Pods-OnlineChatSdk_Example"; - productName = "Pods-OnlineChatSdk_Example"; - productReference = 3F9D8182090913B398FB960F9C47D364 /* Pods_OnlineChatSdk_Example.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - BFDFE7DC352907FC980B868725387E98 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1100; - LastUpgradeCheck = 1100; - }; - buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = CF1408CF629C7361332E53B88F7BD30C; - productRefGroup = 43C8D64CC46B08513D80E5B080FEABA8 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 703A72276AA799D9F6776AF21F9FBBC1 /* OnlineChatSdk */, - EE49958FF486FC5404A5724C7D94C8D0 /* Pods-OnlineChatSdk_Example */, - 9DEB3BD6EDAA33CF52E61BAA092E4BB8 /* Pods-OnlineChatSdk_Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 71F1688CD0996F3F229BC9EC3B477A17 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 77C028D74381DB0833A480DD58FEC7A9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - EE6B9875E8543B129460851CF6520D7A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 6E24C1EA167A0E7430C2FB0AA685B8A5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8A4D7BAAB47A2BC73DB2649DC570DE6E /* Pods-OnlineChatSdk_Tests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E6285BEC29589FD1B6D3908284C27E95 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 7587E97BF506974AF6F6A49B78EF08AF /* Pods-OnlineChatSdk_Example-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E8CDCAAF8A761E5AAE59BFBC9A11C981 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D57077F1B4219D4B130032D181180A24 /* ChatApi.swift in Sources */, - B61DE444BE1EB7C89513A66F1599ED13 /* ChatController.swift in Sources */, - 877616D4221488CAAC0CCB65106F92EF /* Command.swift in Sources */, - E755A5301CE9F36554E6BED5D1C46CF5 /* OnlineChatSdk-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 254B992ED9FDA2906743229BA9BC7745 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = OnlineChatSdk; - target = 703A72276AA799D9F6776AF21F9FBBC1 /* OnlineChatSdk */; - targetProxy = FDEE491E399E8BEAE907A42158C78B11 /* PBXContainerItemProxy */; - }; - A03DF1341F8D913F74004FC7A55EE746 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "Pods-OnlineChatSdk_Example"; - target = EE49958FF486FC5404A5724C7D94C8D0 /* Pods-OnlineChatSdk_Example */; - targetProxy = D6705DFE1A69E0869352E35AEB0D94BD /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 04EE59200408CF5B718B08EFEB157EC2 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 3E4270A75BF9FC99FDED4F358A946957 /* Pods-OnlineChatSdk_Example.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "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-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.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; - }; - 4E3EB4C0FA6A152C3AD6101B29C005C0 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 57A58A24AE74BA497984E7E58FE91E86 /* Pods-OnlineChatSdk_Tests.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "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-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.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; - }; - 573EDC9601131E4257033DC11AAD6FBA /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AC6161C36FC958B693D919BC395D788 /* Pods-OnlineChatSdk_Tests.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "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-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.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; - }; - 823476B22AA8BC6EFC2AF819832857CB /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 325DA660D42FA1E563623E4E3CDB13C3 /* Pods-OnlineChatSdk_Example.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "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-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.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; - }; - 93EEB9C292410CFA6C60BF0B197418BE /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BC23B9E0CA06CB07FA7528FD552BD74B /* OnlineChatSdk.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/OnlineChatSdk/OnlineChatSdk-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/OnlineChatSdk/OnlineChatSdk-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/OnlineChatSdk/OnlineChatSdk.modulemap"; - PRODUCT_MODULE_NAME = OnlineChatSdk; - PRODUCT_NAME = OnlineChatSdk; - 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; - }; - B0087CB4594321EF41619F3181FE120E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_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_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.3; - 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; - }; - B74FE4E40ECDDF54C134B546547EDB37 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BC23B9E0CA06CB07FA7528FD552BD74B /* OnlineChatSdk.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "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/OnlineChatSdk/OnlineChatSdk-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/OnlineChatSdk/OnlineChatSdk-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/OnlineChatSdk/OnlineChatSdk.modulemap"; - PRODUCT_MODULE_NAME = OnlineChatSdk; - PRODUCT_NAME = OnlineChatSdk; - 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 = ""; - }; - name = Debug; - }; - B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_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_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; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, - B0087CB4594321EF41619F3181FE120E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 63AE78E86BF0DAF3FB86C3FD1524AEE9 /* Build configuration list for PBXNativeTarget "Pods-OnlineChatSdk_Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4E3EB4C0FA6A152C3AD6101B29C005C0 /* Debug */, - 573EDC9601131E4257033DC11AAD6FBA /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B37F102035B11F4BCF075DE27116005F /* Build configuration list for PBXNativeTarget "Pods-OnlineChatSdk_Example" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 823476B22AA8BC6EFC2AF819832857CB /* Debug */, - 04EE59200408CF5B718B08EFEB157EC2 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - EEE00C25AF5BC68482C05792FE077251 /* Build configuration list for PBXNativeTarget "OnlineChatSdk" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B74FE4E40ECDDF54C134B546547EDB37 /* Debug */, - 93EEB9C292410CFA6C60BF0B197418BE /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; -} diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-Info.plist b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-Info.plist deleted file mode 100644 index 774f87e..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.0.3 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-dummy.m b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-dummy.m deleted file mode 100644 index cfd562a..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_OnlineChatSdk : NSObject -@end -@implementation PodsDummy_OnlineChatSdk -@end diff --git a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-prefix.pch b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-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/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-umbrella.h b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-umbrella.h deleted file mode 100644 index 8d47b3c..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk-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 OnlineChatSdkVersionNumber; -FOUNDATION_EXPORT const unsigned char OnlineChatSdkVersionString[]; - diff --git a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.modulemap b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.modulemap deleted file mode 100644 index f64578f..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module OnlineChatSdk { - umbrella header "OnlineChatSdk-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.xcconfig b/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.xcconfig deleted file mode 100644 index 155122d..0000000 --- a/Example/Pods/Target Support Files/OnlineChatSdk/OnlineChatSdk.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/OnlineChatSdk -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-Info.plist b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.markdown deleted file mode 100644 index 8cb0434..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.markdown +++ /dev/null @@ -1,26 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## OnlineChatSdk - -Copyright (c) 2019 bekannax - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -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. - -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.plist deleted file mode 100644 index a45a219..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-acknowledgements.plist +++ /dev/null @@ -1,58 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2019 bekannax <bekannax@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -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. - - License - MIT - Title - OnlineChatSdk - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-dummy.m b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-dummy.m deleted file mode 100644 index 6a0b640..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_OnlineChatSdk_Example : NSObject -@end -@implementation PodsDummy_Pods_OnlineChatSdk_Example -@end diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-frameworks.sh deleted file mode 100755 index 52f2d41..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-frameworks.sh +++ /dev/null @@ -1,171 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -function on_error { - echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" -} -trap 'on_error $LINENO' ERR - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -# Copies and strips a vendored framework -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - elif [ -L "${binary}" ]; then - echo "Destination binary is symlinked..." - dirname="$(dirname "${binary}")" - binary="${dirname}/$(readlink "${binary}")" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identity - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/OnlineChatSdk/OnlineChatSdk.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/OnlineChatSdk/OnlineChatSdk.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-umbrella.h deleted file mode 100644 index d2ec118..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example-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 Pods_OnlineChatSdk_ExampleVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_OnlineChatSdk_ExampleVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.debug.xcconfig deleted file mode 100644 index 6b5ab19..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.debug.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk/OnlineChatSdk.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "OnlineChatSdk" -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.modulemap b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.modulemap deleted file mode 100644 index d456c58..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_OnlineChatSdk_Example { - umbrella header "Pods-OnlineChatSdk_Example-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.release.xcconfig deleted file mode 100644 index 6b5ab19..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Example/Pods-OnlineChatSdk_Example.release.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk/OnlineChatSdk.framework/Headers" -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_LDFLAGS = $(inherited) -framework "OnlineChatSdk" -OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-Info.plist deleted file mode 100644 index 2243fe6..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.markdown deleted file mode 100644 index 102af75..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.markdown +++ /dev/null @@ -1,3 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: -Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.plist deleted file mode 100644 index 7acbad1..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-acknowledgements.plist +++ /dev/null @@ -1,29 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-dummy.m deleted file mode 100644 index 24a7c2c..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_OnlineChatSdk_Tests : NSObject -@end -@implementation PodsDummy_Pods_OnlineChatSdk_Tests -@end diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-frameworks.sh deleted file mode 100755 index 8e246cb..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-frameworks.sh +++ /dev/null @@ -1,171 +0,0 @@ -#!/bin/sh -set -e -set -u -set -o pipefail - -function on_error { - echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" -} -trap 'on_error $LINENO' ERR - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi - -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}" - -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - -# This protects against multiple targets copying the same framework dependency at the same time. The solution -# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html -RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") - -# Copies and strips a vendored framework -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - elif [ -L "${binary}" ]; then - echo "Destination binary is symlinked..." - dirname="$(dirname "${binary}")" - binary="${dirname}/$(readlink "${binary}")" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Copies and strips a vendored dSYM -install_dsym() { - local source="$1" - if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi - fi -} - -# Copies the bcsymbolmap files of a vendored framework -install_bcsymbolmap() { - local bcsymbolmap_path="$1" - local destination="${BUILT_PRODUCTS_DIR}" - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identity - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi - stripped="" - for arch in $binary_archs; do - if ! [[ "${ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi - STRIP_BINARY_RETVAL=1 -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework" -fi -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-umbrella.h deleted file mode 100644 index 87d4425..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests-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 Pods_OnlineChatSdk_TestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_OnlineChatSdk_TestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.debug.xcconfig deleted file mode 100644 index 090e665..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.debug.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk/OnlineChatSdk.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "OnlineChatSdk" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.modulemap b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.modulemap deleted file mode 100644 index beb08b0..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_OnlineChatSdk_Tests { - umbrella header "Pods-OnlineChatSdk_Tests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.release.xcconfig deleted file mode 100644 index 090e665..0000000 --- a/Example/Pods/Target Support Files/Pods-OnlineChatSdk_Tests/Pods-OnlineChatSdk_Tests.release.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk" -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OnlineChatSdk/OnlineChatSdk.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "OnlineChatSdk" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_PODFILE_DIR_PATH = ${SRCROOT}/. -PODS_ROOT = ${SRCROOT}/Pods -USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Example/Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift deleted file mode 100644 index a5b0bf4..0000000 --- a/Example/Tests/Tests.swift +++ /dev/null @@ -1,28 +0,0 @@ -import XCTest -import OnlineChatSdk - -class Tests: XCTestCase { - - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // This is an example of a functional test case. - XCTAssert(true, "Pass") - } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measure() { - // Put the code you want to measure the time of here. - } - } - -}