From 287c41ac4dc488f14ad2e0a64bf086e3e9d6ec94 Mon Sep 17 00:00:00 2001 From: VladimirBrejcha Date: Tue, 27 Apr 2021 18:29:07 +0300 Subject: [PATCH 1/9] QuickStart application removed --- ObjectiveC.xcodeproj/project.pbxproj | 243 ------------------ .../xcschemes/Quick Start.xcscheme | 91 ------- Podfile | 4 - QuickStart/Base.lproj/QSMain.storyboard | 61 ----- QuickStart/Info.plist | 48 ---- QuickStart/QSAppDelegate.h | 12 - QuickStart/QSAppDelegate.m | 47 ---- QuickStart/QSAssets.xcassets/Contents.json | 6 - QuickStart/QSViewController.h | 14 - QuickStart/QSViewController.m | 131 ---------- QuickStart/README.md | 11 - QuickStart/main.m | 12 - 12 files changed, 680 deletions(-) delete mode 100644 ObjectiveC.xcodeproj/xcshareddata/xcschemes/Quick Start.xcscheme delete mode 100644 QuickStart/Base.lproj/QSMain.storyboard delete mode 100644 QuickStart/Info.plist delete mode 100644 QuickStart/QSAppDelegate.h delete mode 100644 QuickStart/QSAppDelegate.m delete mode 100644 QuickStart/QSAssets.xcassets/Contents.json delete mode 100644 QuickStart/QSViewController.h delete mode 100644 QuickStart/QSViewController.m delete mode 100644 QuickStart/README.md delete mode 100644 QuickStart/main.m diff --git a/ObjectiveC.xcodeproj/project.pbxproj b/ObjectiveC.xcodeproj/project.pbxproj index a80b624..966c3a9 100644 --- a/ObjectiveC.xcodeproj/project.pbxproj +++ b/ObjectiveC.xcodeproj/project.pbxproj @@ -8,21 +8,14 @@ /* Begin PBXBuildFile section */ 8E05439621CAA3E500DF2EE4 /* QIIssueCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E05439421CAA3E400DF2EE4 /* QIIssueCollectionViewCell.m */; }; - 8E7B2C0821AC11DB0023167F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8E7B2C0621AC11DB0023167F /* LaunchScreen.storyboard */; }; 8E7B2C0B21AC11E70023167F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8E7B2C0621AC11DB0023167F /* LaunchScreen.storyboard */; }; 8E89C73721AD6F040071E45C /* QILoginViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E89C73521AD6F040071E45C /* QILoginViewController.m */; }; 8E89C73C21AD6F8A0071E45C /* QIDialerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E89C73A21AD6F8A0071E45C /* QIDialerViewController.m */; }; 8E89C74121AD6F9C0071E45C /* QICallViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E89C73F21AD6F9C0071E45C /* QICallViewController.m */; }; 8E89C74721AD92500071E45C /* QIVoxClientManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E89C74621AD92500071E45C /* QIVoxClientManager.m */; }; - 8E9C924D21A313BE00BE506F /* QSAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C924C21A313BE00BE506F /* QSAppDelegate.m */; }; - 8E9C925021A313BE00BE506F /* QSViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C924F21A313BE00BE506F /* QSViewController.m */; }; - 8E9C925321A313BE00BE506F /* QSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8E9C925121A313BE00BE506F /* QSMain.storyboard */; }; - 8E9C925521A313C000BE506F /* QSAssets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8E9C925421A313C000BE506F /* QSAssets.xcassets */; }; - 8E9C925B21A313C000BE506F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C925A21A313C000BE506F /* main.m */; }; 8E9C926721A3148100BE506F /* QIAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C926621A3148100BE506F /* QIAppDelegate.m */; }; 8E9C926F21A3148200BE506F /* QIAssets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8E9C926E21A3148200BE506F /* QIAssets.xcassets */; }; 8E9C927521A3148200BE506F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E9C927421A3148200BE506F /* main.m */; }; - 8E9C929521A31D9100BE506F /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8E9C929421A31D9100BE506F /* Shared.xcassets */; }; 8E9C929621A31D9100BE506F /* Shared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8E9C929421A31D9100BE506F /* Shared.xcassets */; }; 8EC372F421CB9BCD00371E4C /* QualityIssues.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8EC372F221CB9BCD00371E4C /* QualityIssues.storyboard */; }; 9200A52322FD9D62000495FE /* VoxEndpointLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 9200A52222FD9D62000495FE /* VoxEndpointLabel.m */; }; @@ -99,10 +92,8 @@ 92C8E1FC22EB2098006CCCFF /* UIHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 92C8E1FB22EB2097006CCCFF /* UIHelper.m */; }; 92C8E1FF22EB2152006CCCFF /* UIExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 92C8E1FE22EB2152006CCCFF /* UIExtensions.m */; }; 92D153DB2338F23B002282A6 /* ACKCallWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 92D153DA2338F23B002282A6 /* ACKCallWrapper.m */; }; - 92D551DF22F1D31500873E8C /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DD22F1D31500873E8C /* Roboto-Regular.ttf */; }; 92D551E022F1D31500873E8C /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DD22F1D31500873E8C /* Roboto-Regular.ttf */; }; 92D551E122F1D31500873E8C /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DD22F1D31500873E8C /* Roboto-Regular.ttf */; }; - 92D551E322F1D31500873E8C /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DE22F1D31500873E8C /* Roboto-Bold.ttf */; }; 92D551E422F1D31500873E8C /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DE22F1D31500873E8C /* Roboto-Bold.ttf */; }; 92D551E522F1D31500873E8C /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 92D551DE22F1D31500873E8C /* Roboto-Bold.ttf */; }; 92DB9E652334CEFC007BF73C /* CXExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 92DB9E642334CEFC007BF73C /* CXExtensions.m */; }; @@ -118,7 +109,6 @@ 8E7B2C0721AC11DB0023167F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 8E7B2C0C21AC12E90023167F /* LICENSE.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = ""; }; 8E7B2C0D21AC12E90023167F /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; - 8E7B2C1021AC13020023167F /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 8E7B2C1221AC13110023167F /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 8E89C73421AD6F040071E45C /* QILoginViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QILoginViewController.h; sourceTree = ""; }; 8E89C73521AD6F040071E45C /* QILoginViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QILoginViewController.m; sourceTree = ""; }; @@ -128,15 +118,6 @@ 8E89C73F21AD6F9C0071E45C /* QICallViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QICallViewController.m; sourceTree = ""; }; 8E89C74521AD92500071E45C /* QIVoxClientManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QIVoxClientManager.h; sourceTree = ""; }; 8E89C74621AD92500071E45C /* QIVoxClientManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QIVoxClientManager.m; sourceTree = ""; }; - 8E9C924821A313BE00BE506F /* Quick Start.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Quick Start.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 8E9C924B21A313BE00BE506F /* QSAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QSAppDelegate.h; sourceTree = ""; }; - 8E9C924C21A313BE00BE506F /* QSAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QSAppDelegate.m; sourceTree = ""; }; - 8E9C924E21A313BE00BE506F /* QSViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QSViewController.h; sourceTree = ""; }; - 8E9C924F21A313BE00BE506F /* QSViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QSViewController.m; sourceTree = ""; }; - 8E9C925221A313BE00BE506F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/QSMain.storyboard; sourceTree = ""; }; - 8E9C925421A313C000BE506F /* QSAssets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = QSAssets.xcassets; sourceTree = ""; }; - 8E9C925921A313C000BE506F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 8E9C925A21A313C000BE506F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 8E9C926321A3148100BE506F /* Quality Issues.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Quality Issues.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 8E9C926521A3148100BE506F /* QIAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QIAppDelegate.h; sourceTree = ""; }; 8E9C926621A3148100BE506F /* QIAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QIAppDelegate.m; sourceTree = ""; }; @@ -228,13 +209,6 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 8E9C924521A313BE00BE506F /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 8E9C926021A3148100BE506F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -296,7 +270,6 @@ 8E7B2C0D21AC12E90023167F /* README.md */, 8E7B2C0C21AC12E90023167F /* LICENSE.md */, 8E9C929321A31D5700BE506F /* Shared */, - 8E9C924A21A313BE00BE506F /* QuickStart */, 8E9C926421A3148100BE506F /* QualityIssues */, 92653F1922D88E1700B3CBE5 /* AudioCall */, 9284FAA522F97D66002B9E70 /* AudioCallKit */, @@ -308,7 +281,6 @@ 8E9C924921A313BE00BE506F /* Products */ = { isa = PBXGroup; children = ( - 8E9C924821A313BE00BE506F /* Quick Start.app */, 8E9C926321A3148100BE506F /* Quality Issues.app */, 92653F1222D8891C00B3CBE5 /* AudioCall.app */, 9284FAA422F97D66002B9E70 /* AudioCallKit.app */, @@ -316,22 +288,6 @@ name = Products; sourceTree = ""; }; - 8E9C924A21A313BE00BE506F /* QuickStart */ = { - isa = PBXGroup; - children = ( - 8E7B2C1021AC13020023167F /* README.md */, - 8E9C924B21A313BE00BE506F /* QSAppDelegate.h */, - 8E9C924C21A313BE00BE506F /* QSAppDelegate.m */, - 8E9C924E21A313BE00BE506F /* QSViewController.h */, - 8E9C924F21A313BE00BE506F /* QSViewController.m */, - 8E9C925121A313BE00BE506F /* QSMain.storyboard */, - 8E9C925421A313C000BE506F /* QSAssets.xcassets */, - 8E9C925921A313C000BE506F /* Info.plist */, - 8E9C925A21A313C000BE506F /* main.m */, - ); - path = QuickStart; - sourceTree = ""; - }; 8E9C926421A3148100BE506F /* QualityIssues */ = { isa = PBXGroup; children = ( @@ -516,23 +472,6 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 8E9C924721A313BE00BE506F /* Quick Start */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8E9C925E21A313C000BE506F /* Build configuration list for PBXNativeTarget "Quick Start" */; - buildPhases = ( - 8E9C924421A313BE00BE506F /* Sources */, - 8E9C924521A313BE00BE506F /* Frameworks */, - 8E9C924621A313BE00BE506F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Quick Start"; - productName = QuickStart; - productReference = 8E9C924821A313BE00BE506F /* Quick Start.app */; - productType = "com.apple.product-type.application"; - }; 8E9C926221A3148100BE506F /* Quality Issues */ = { isa = PBXNativeTarget; buildConfigurationList = 8E9C927821A3148200BE506F /* Build configuration list for PBXNativeTarget "Quality Issues" */; @@ -593,9 +532,6 @@ LastUpgradeCheck = 1010; ORGANIZATIONNAME = Voximplant; TargetAttributes = { - 8E9C924721A313BE00BE506F = { - CreatedOnToolsVersion = 10.1; - }; 8E9C926221A3148100BE506F = { CreatedOnToolsVersion = 10.1; SystemCapabilities = { @@ -627,7 +563,6 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 8E9C924721A313BE00BE506F /* Quick Start */, 8E9C926221A3148100BE506F /* Quality Issues */, 92653F0022D8891C00B3CBE5 /* AudioCall */, 9284FAA322F97D66002B9E70 /* AudioCallKit */, @@ -636,19 +571,6 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 8E9C924621A313BE00BE506F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8E9C929521A31D9100BE506F /* Shared.xcassets in Resources */, - 8E9C925521A313C000BE506F /* QSAssets.xcassets in Resources */, - 92D551E322F1D31500873E8C /* Roboto-Bold.ttf in Resources */, - 92D551DF22F1D31500873E8C /* Roboto-Regular.ttf in Resources */, - 8E7B2C0821AC11DB0023167F /* LaunchScreen.storyboard in Resources */, - 8E9C925321A313BE00BE506F /* QSMain.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 8E9C926121A3148100BE506F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -696,16 +618,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 8E9C924421A313BE00BE506F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8E9C925021A313BE00BE506F /* QSViewController.m in Sources */, - 8E9C925B21A313C000BE506F /* main.m in Sources */, - 8E9C924D21A313BE00BE506F /* QSAppDelegate.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 8E9C925F21A3148100BE506F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -809,14 +721,6 @@ name = LaunchScreen.storyboard; sourceTree = ""; }; - 8E9C925121A313BE00BE506F /* QSMain.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 8E9C925221A313BE00BE506F /* Base */, - ); - name = QSMain.storyboard; - sourceTree = ""; - }; 8EC372F221CB9BCD00371E4C /* QualityIssues.storyboard */ = { isa = PBXVariantGroup; children = ( @@ -892,144 +796,6 @@ }; name = Release; }; - 8E9C925C21A313C000BE506F /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - 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; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 2; - DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = W9BHJBL635; - ENABLE_BITCODE = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = QuickStart/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.voximplant.demos.objc.QuickStart; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 8E9C925D21A313C000BE506F /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - 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; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 2; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = W9BHJBL635; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - INFOPLIST_FILE = QuickStart/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.voximplant.demos.objc.QuickStart; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; 8E9C927621A3148200BE506F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1418,15 +1184,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 8E9C925E21A313C000BE506F /* Build configuration list for PBXNativeTarget "Quick Start" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8E9C925C21A313C000BE506F /* Debug */, - 8E9C925D21A313C000BE506F /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 8E9C927821A3148200BE506F /* Build configuration list for PBXNativeTarget "Quality Issues" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/ObjectiveC.xcodeproj/xcshareddata/xcschemes/Quick Start.xcscheme b/ObjectiveC.xcodeproj/xcshareddata/xcschemes/Quick Start.xcscheme deleted file mode 100644 index 3af88ad..0000000 --- a/ObjectiveC.xcodeproj/xcshareddata/xcschemes/Quick Start.xcscheme +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Podfile b/Podfile index d96297c..d4ff0f2 100644 --- a/Podfile +++ b/Podfile @@ -9,10 +9,6 @@ end sdk_version = '2.34.0' -target 'Quick Start' do - pod 'VoxImplantSDK', sdk_version -end - target 'Quality Issues' do common_pods pod 'VoxImplantSDK', sdk_version diff --git a/QuickStart/Base.lproj/QSMain.storyboard b/QuickStart/Base.lproj/QSMain.storyboard deleted file mode 100644 index 1544f51..0000000 --- a/QuickStart/Base.lproj/QSMain.storyboard +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/QuickStart/Info.plist b/QuickStart/Info.plist deleted file mode 100644 index a95fe11..0000000 --- a/QuickStart/Info.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - LSRequiresIPhoneOS - - NSMicrophoneUsageDescription - Used for Calls - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - QSMain - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/QuickStart/QSAppDelegate.h b/QuickStart/QSAppDelegate.h deleted file mode 100644 index 7e2ae8c..0000000 --- a/QuickStart/QSAppDelegate.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. - */ - -#import - -@interface QSAppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - -@end - diff --git a/QuickStart/QSAppDelegate.m b/QuickStart/QSAppDelegate.m deleted file mode 100644 index e85c896..0000000 --- a/QuickStart/QSAppDelegate.m +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. - */ - -#import "QSAppDelegate.h" - -@interface QSAppDelegate () - -@end - -@implementation QSAppDelegate - - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Override point for customization after application launch. - return YES; -} - - -- (void)applicationWillResignActive:(UIApplication *)application { - // 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 invalidate graphics rendering callbacks. Games should use this method to pause the game. -} - - -- (void)applicationDidEnterBackground:(UIApplication *)application { - // 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. -} - - -- (void)applicationWillEnterForeground:(UIApplication *)application { - // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. -} - - -- (void)applicationDidBecomeActive:(UIApplication *)application { - // 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. -} - - -- (void)applicationWillTerminate:(UIApplication *)application { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. -} - - -@end diff --git a/QuickStart/QSAssets.xcassets/Contents.json b/QuickStart/QSAssets.xcassets/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/QuickStart/QSAssets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/QuickStart/QSViewController.h b/QuickStart/QSViewController.h deleted file mode 100644 index 6740d29..0000000 --- a/QuickStart/QSViewController.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. - */ - -#import - -@interface QSViewController : UIViewController - -@property(strong, nonatomic) IBOutlet UIButton *callButton; - -- (IBAction)callButtonTouched:(id)sender; - -@end - diff --git a/QuickStart/QSViewController.m b/QuickStart/QSViewController.m deleted file mode 100644 index ab0210f..0000000 --- a/QuickStart/QSViewController.m +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. - */ - -#import "QSViewController.h" - -#error Enter Voximplant account credentials -static NSString *const kUsername = @"user@app.acc.voximplant.com"; -static NSString *const kPassword = @"p@ssw0rd"; - -@import VoxImplantSDK; - -@interface QSViewController () - -@property (strong, nonatomic) VIClient *client; -@property (strong, nonatomic) VICall *currentCall; - -@end - -@implementation QSViewController - -- (void)viewDidLoad { - [super viewDidLoad]; - - [VIClient setLogLevel:VILogLevelInfo]; - _client = [[VIClient alloc] initWithDelegateQueue:dispatch_get_main_queue()]; - _client.sessionDelegate = self; - _client.callManagerDelegate = self; -} - -- (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; - - [_client connect]; -} - -- (void)callButtonTouched:(id)sender { - if (_currentCall) { - [self endCall]; - } else { - [self call]; - } -} - -- (void)call { - if (!_currentCall) { - VICallSettings *callSettings = [VICallSettings new]; - callSettings.videoFlags = [VIVideoFlags videoFlagsWithReceiveVideo:NO sendVideo:NO]; - - _currentCall = [_client call:@"*" settings:callSettings]; - - if (_currentCall) { - [_currentCall addDelegate:self]; - - [_currentCall start]; - } - } -} - -- (void)endCall { - if (_currentCall) { - [_currentCall hangupWithHeaders:nil]; - } -} - -#pragma mark - VIClientSessionDelegate -- (void)clientSessionDidConnect:(VIClient *)client { - NSLog(@"Connection established"); - [_client loginWithUser:kUsername password:kPassword success:^(NSString * _Nonnull displayName, VIAuthParams * _Nonnull authParams) { - } failure:^(NSError * _Nonnull error) { - NSLog(@"Login failed: %@", error.localizedDescription); - }]; -} - -- (void)clientSessionDidDisconnect:(VIClient *)client { - NSLog(@"Connection closed"); - dispatch_async(dispatch_get_main_queue(), ^{ - self.callButton.selected = NO; - }); -} - -- (void)client:(VIClient *)client sessionDidFailConnectWithError:(NSError *)error { - NSLog(@"Connection failed: %@", error.localizedDescription); - dispatch_async(dispatch_get_main_queue(), ^{ - self.callButton.selected = NO; - }); -} - -#pragma mark - VIClientCallManagerDelegate - -- (void)client:(VIClient *)client didReceiveIncomingCall:(VICall *)call withIncomingVideo:(BOOL)video headers:(nullable NSDictionary *)headers { - if (_currentCall) { - [call rejectWithMode:VIRejectModeBusy headers:nil]; - return; - } - _currentCall = call; - [_currentCall addDelegate:self]; - - VICallSettings *callSettings = [VICallSettings new]; - callSettings.videoFlags = [VIVideoFlags videoFlagsWithReceiveVideo:NO sendVideo:NO]; - [_currentCall answerWithSettings:callSettings]; -} - -#pragma mark - VICallDelegate - -- (void)call:(VICall *)call didConnectWithHeaders:(NSDictionary *)headers { - NSLog(@"You can hear audio from the cloud"); - dispatch_async(dispatch_get_main_queue(), ^{ - self.callButton.selected = YES; - }); -} - -- (void)call:(VICall *)call didDisconnectWithHeaders:(NSDictionary *)headers answeredElsewhere:(NSNumber *)answeredElsewhere { - NSLog(@"The call has ended"); - [call removeDelegate:self]; - _currentCall = nil; - dispatch_async(dispatch_get_main_queue(), ^{ - self.callButton.selected = NO; - }); -} - -- (void)call:(VICall *)call didFailWithError:(NSError *)error headers:(NSDictionary *)headers { - NSLog(@"Call failed with error: %@", error.localizedDescription); - [call removeDelegate:self]; - _currentCall = nil; - dispatch_async(dispatch_get_main_queue(), ^{ - self.callButton.selected = NO; - }); -} - -@end diff --git a/QuickStart/README.md b/QuickStart/README.md deleted file mode 100644 index f45d6e3..0000000 --- a/QuickStart/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Voximplant Quick Start Demo - -Objective-C variant of source code for the [Voximplant Getting started](https://voximplant.com/docs/introduction/integration/adding_sdks) page. - -To run this demo, perform the following steps: - -1. Execute `pod install` in checked out project -2. Open generated .xcworkspace -3. Select run scheme `Quick Start` -4. Change username and password and remove `#error` in [QSViewController.m](QuickStart/QSViewController.m#L7-9) -5. Build and run diff --git a/QuickStart/main.m b/QuickStart/main.m deleted file mode 100644 index 297d182..0000000 --- a/QuickStart/main.m +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2011-2019, Zingaya, Inc. All rights reserved. - */ - -#import -#import "QSAppDelegate.h" - -int main(int argc, char * argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([QSAppDelegate class])); - } -} From bde19e23edbb4e43baf7483c15c3108406cf3737 Mon Sep 17 00:00:00 2001 From: VladimirBrejcha Date: Tue, 27 Apr 2021 18:29:48 +0300 Subject: [PATCH 2/9] Update Podfile Voximplant dependency to v2.38.0 --- Podfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Podfile b/Podfile index d4ff0f2..62decfc 100644 --- a/Podfile +++ b/Podfile @@ -7,7 +7,7 @@ def common_pods pod 'CocoaLumberjack', '~> 3.5.0' end -sdk_version = '2.34.0' +sdk_version = '2.38.0' target 'Quality Issues' do common_pods From 67e6c8dd1f6ed458de4cbc100149149967cd6165 Mon Sep 17 00:00:00 2001 From: VladimirBrejcha Date: Tue, 27 Apr 2021 18:30:21 +0300 Subject: [PATCH 3/9] QuickStart application removed from README --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index f5690f5..7870c32 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # Voximplant Objective-C Demos -## [Quick Start](QuickStart) - -Complete source code for [Voximplant basics](https://voximplant.com/docs/references/articles/quickstart/voximplant-basics) - ## [Quality Issues](QualityIssues) Example of how to handle Quality Issues alerts of Voximplant iOS SDK From 1de4a41e7056b299308a859737d50441b670796e Mon Sep 17 00:00:00 2001 From: VladimirBrejcha Date: Tue, 27 Apr 2021 18:37:51 +0300 Subject: [PATCH 4/9] (AudioCall) Update login success completion handler to match new Voximplant API --- AudioCall/ACAuthService.m | 88 ++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/AudioCall/ACAuthService.m b/AudioCall/ACAuthService.m index 4e692f0..f24d2c3 100644 --- a/AudioCall/ACAuthService.m +++ b/AudioCall/ACAuthService.m @@ -86,29 +86,31 @@ - (void)loginWithUser:(NSString *)user __strong ACAuthService *strongSelf = weakSelf; [strongSelf.client loginWithUser:user password:password - success:^(NSString * _Nonnull userDisplayName, VIAuthParams * _Nonnull authParams) { - NSTimeInterval refreshExpire = authParams.refreshExpire; - NSString *refreshToken = authParams.refreshToken; - NSTimeInterval accessExpire = authParams.accessExpire; - NSString *accessToken = authParams.accessToken; - - __strong ACAuthService *strongSelf = weakSelf; - - VoxToken *validAccessToken = [VoxToken createToken:accessToken - expireDate:[NSDate dateWithTimeIntervalSinceNow:accessExpire]]; - - VoxToken *validRefreshToken = [VoxToken createToken:refreshToken - expireDate:[NSDate dateWithTimeIntervalSinceNow:refreshExpire]]; - VoxKeys *keys = [VoxKeys keyholderWithAccess:validAccessToken refresh:validRefreshToken]; - [strongSelf.tokenManager setKeys:keys]; - strongSelf.loggedInUser = user; - strongSelf.loggedInUserDisplayName = userDisplayName; - - completion(userDisplayName, nil); - } + success:^(NSString *_Nonnull userDisplayName, VIAuthParams *_Nullable authParams) { + __strong ACAuthService *strongSelf = weakSelf; + if (authParams) { + NSTimeInterval refreshExpire = authParams.refreshExpire; + NSString *refreshToken = authParams.refreshToken; + NSTimeInterval accessExpire = authParams.accessExpire; + NSString *accessToken = authParams.accessToken; + + + VoxToken *validAccessToken = [VoxToken createToken:accessToken + expireDate:[NSDate dateWithTimeIntervalSinceNow:accessExpire]]; + + VoxToken *validRefreshToken = [VoxToken createToken:refreshToken + expireDate:[NSDate dateWithTimeIntervalSinceNow:refreshExpire]]; + VoxKeys *keys = [VoxKeys keyholderWithAccess:validAccessToken refresh:validRefreshToken]; + [strongSelf.tokenManager setKeys:keys]; + } + strongSelf.loggedInUser = user; + strongSelf.loggedInUserDisplayName = userDisplayName; + + completion(userDisplayName, nil); + } failure:^(NSError * _Nonnull error) { - completion(nil, error); - }]; + completion(nil, error); + }]; }]; }]; } @@ -152,27 +154,27 @@ - (void)loginUsingTokenWithCompletion:(VoxResult)completion { __strong ACAuthService *strongSelf = weakSelf; [strongSelf.client loginWithUser:user token:accessToken.token - success:^(NSString * _Nonnull userDisplayName, VIAuthParams * _Nonnull authParams) { - NSTimeInterval refreshExpire = authParams.refreshExpire; - NSString *refreshToken = authParams.refreshToken; - NSTimeInterval accessExpire = authParams.accessExpire; - NSString *accessToken = authParams.accessToken; - - if (refreshExpire && refreshToken && accessExpire && accessToken) { - VoxToken *validAccessToken = [VoxToken createToken:accessToken - expireDate:[NSDate dateWithTimeIntervalSinceNow:accessExpire]]; - VoxToken *validRefreshToken = [VoxToken createToken:refreshToken - expireDate:[NSDate dateWithTimeIntervalSinceNow:refreshExpire]]; - VoxKeys *keys = [VoxKeys keyholderWithAccess:validAccessToken refresh:validRefreshToken]; - [strongSelf.tokenManager setKeys:keys]; - strongSelf.loggedInUser = user; - strongSelf.loggedInUserDisplayName = userDisplayName; - } - completion(userDisplayName, nil); - - } failure:^(NSError * _Nonnull error) { - completion(nil, error); - }]; + success:^(NSString * _Nonnull userDisplayName, VIAuthParams *_Nullable authParams) { + __strong ACAuthService *strongSelf = weakSelf; + if (authParams) { + NSTimeInterval refreshExpire = authParams.refreshExpire; + NSString *refreshToken = authParams.refreshToken; + NSTimeInterval accessExpire = authParams.accessExpire; + NSString *accessToken = authParams.accessToken; + VoxToken *validAccessToken = [VoxToken createToken:accessToken + expireDate:[NSDate dateWithTimeIntervalSinceNow:accessExpire]]; + VoxToken *validRefreshToken = [VoxToken createToken:refreshToken + expireDate:[NSDate dateWithTimeIntervalSinceNow:refreshExpire]]; + VoxKeys *keys = [VoxKeys keyholderWithAccess:validAccessToken refresh:validRefreshToken]; + [strongSelf.tokenManager setKeys:keys]; + } + strongSelf.loggedInUser = user; + strongSelf.loggedInUserDisplayName = userDisplayName; + completion(userDisplayName, nil); + + } failure:^(NSError * _Nonnull error) { + completion(nil, error); + }]; }]; }]; }]; From 592459815eec69987bc2a94ab557ce055112da71 Mon Sep 17 00:00:00 2001 From: VladimirBrejcha Date: Tue, 27 Apr 2021 18:38:16 +0300 Subject: [PATCH 5/9] (AudioCall) Update deployment target to iOS 10 --- AudioCall/Resources/ACMain.storyboard | 85 ++++++++++++++------------- ObjectiveC.xcodeproj/project.pbxproj | 8 +-- 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/AudioCall/Resources/ACMain.storyboard b/AudioCall/Resources/ACMain.storyboard index 4ebc530..20d4910 100644 --- a/AudioCall/Resources/ACMain.storyboard +++ b/AudioCall/Resources/ACMain.storyboard @@ -1,11 +1,9 @@ - - - - + + - - + + @@ -23,7 +21,7 @@ - +