From 4ce69dc3c65ac0b835a7944f0d72aeeab5fbb261 Mon Sep 17 00:00:00 2001 From: Dawinder Kaur Date: Wed, 15 Jan 2025 18:09:49 +0530 Subject: [PATCH] updated versions for sdk and uikit --- .DS_Store | Bin 0 -> 8196 bytes CometChatUIKitSwift.xcodeproj/project.pbxproj | 125 +++++------------- .../CometChatUIKit/CometChatUIKit.swift | 2 +- .../Shared/Constants/UIKitConstants.swift | 2 +- Podfile | 2 + SampleApp/Info.plist | 2 +- SampleApp/SceneDelegate.swift | 2 +- SampleAppPushNotificationAPNs/Info.plist | 2 +- .../SceneDelegate.swift | 2 +- 9 files changed, 40 insertions(+), 99 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a5a94509720d04b19736ba2208e41771fee7e4d7 GIT binary patch literal 8196 zcmeHMO=}ZD7=9;B?S?88t=LO(!E33l6}5PYX?iH4l&&8Km3EU&leL?jCD|CE6mnJX zMG*W8A|Ct){saZRc<=}G>PesZXx-hksHBLHnK1KAX5Q!Bo#*Y$_T3N>D|NhiqA4P> zPz6qmqdBCAc~SdHPLE6i8TdpoEm4D9;N3oJGhh@j3K#{90!9I&!2h5Cp4p;UM?Ck{ ztZ9t`MuDMJK%5UYs=%VgofqVZoLEtzX^jF#fqn%6t4ulS_yas46(^>pw9k~1wEqaKl4Jf^pvW&o`>s2)I#rZ#`Bxw^BmOYohole z@(%M~cL%%ACNGz@0#@_er*QAp2cg0MD{pe|z~fu*OE9>{sF7Ils5}kN|5aqVh)9dJ zsEz2jh*T{d9X5>>zfQz`K<}vtvCkXuKA^{Bl-`}r)puXYC=KlOSEP>5Ybsi74~wTU zT9vzF6T2=rRQ=?xJDIk|?h3%J(pDyFFW@;DwY=uF({?2GUec~WYqX5LUZz{XS)3AH zn!$wUt-C%kxx~ZR^}||A5`3=)lZW^H(Bs__?}T1kave2c z6|BPg#JTP5Yl}1X!s6AP8GC#2(%g)FdEv^=PQf~R;o|kR^{t>8@@H5C3e*3O&?)u( zpnZ /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; }; - EA0F259A9830179E46D16567 /* [CP] Embed Pods Frameworks */ = { + BE2AB8A84A760BD4556F93D7 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources.sh\"\n"; showEnvVarsInLog = 0; }; F0032C873B8F36BDD7F83DB0 /* [CP] Check Pods Manifest.lock */ = { @@ -3114,21 +3063,21 @@ 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; }; - FAE46BD087EDCDA29B7A59D7 /* [CP] Copy Pods Resources */ = { + F258950AC6E653CC98C7A281 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -3559,21 +3508,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 183038922D19483000DB2B07 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; - targetProxy = 183038912D19483000DB2B07 /* PBXContainerItemProxy */; - }; 18364DB62D25B17300769643 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; targetProxy = 18364DB52D25B17300769643 /* PBXContainerItemProxy */; }; - 186592782D25BAEA00B5C767 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; - targetProxy = 186592772D25BAEA00B5C767 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -3738,8 +3677,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.inscripts.sample.app.SampleApp; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -3773,8 +3712,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.inscripts.sample.app.SampleApp; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -3815,8 +3754,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = "5.0.0-alpha13"; - PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.apns.swift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; @@ -3859,8 +3798,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = "5.0.0-alpha13"; - PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.apns.swift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_EMIT_LOC_STRINGS = YES; @@ -4022,7 +3961,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 4.3.17; + MARKETING_VERSION = "5.0.0-beta.2"; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.CometChatUIKitSwift; @@ -4069,7 +4008,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 4.3.17; + MARKETING_VERSION = "5.0.0-beta.2"; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.CometChatUIKitSwift; diff --git a/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift b/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift index dad88602..c17d0c66 100644 --- a/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift +++ b/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift @@ -30,7 +30,7 @@ final public class CometChatUIKit { CometChat.init(appId: uiKitSettings.appID, appSettings: AppSettings(builder: uiKitSettings.appSettingsBuilder)) { isSuccess in CometChatUIKit.uiKitSettings = uiKitSettings if isSuccess { - CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift", version: UIKitConstants.version) + CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift", version: UIKitConstants.version) #if canImport(CometChatCallsSDK) if !uiKitSettings.isCallingDisabled { if let customCallingExtension = uiKitSettings.callingExtensions { diff --git a/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift b/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift index 90903cda..372d0611 100644 --- a/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift +++ b/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift @@ -6,7 +6,7 @@ public struct UIConstants { } internal struct UIKitConstants { - static var version = "4.3.17" + static var version = "5.0.0-beta.2" static var messageId = "messageId" static var conversationId = "conversationId" static var senderId = "senderId" diff --git a/Podfile b/Podfile index 95bd0e58..88512cc8 100644 --- a/Podfile +++ b/Podfile @@ -6,6 +6,7 @@ target 'SampleAppPushNotificationAPNs' do pod 'CometChatCallsSDK' pod 'CometChatSDK' + pod 'CometChatUIKitSwift', '5.0.0-beta.2' end @@ -16,6 +17,7 @@ target 'SampleApp' do pod 'CometChatCallsSDK' pod 'CometChatSDK' + pod 'CometChatUIKitSwift', '5.0.0-beta.2' end diff --git a/SampleApp/Info.plist b/SampleApp/Info.plist index 4ae469e0..ac3571fa 100644 --- a/SampleApp/Info.plist +++ b/SampleApp/Info.plist @@ -21,7 +21,7 @@ CometChatSDK - 4.0.53 + 4.0.54 GIDClientID YOUR_DOT_REVERSED_IOS_CLIENT_ID UIApplicationSceneManifest diff --git a/SampleApp/SceneDelegate.swift b/SampleApp/SceneDelegate.swift index 9ee59319..b42e73bb 100644 --- a/SampleApp/SceneDelegate.swift +++ b/SampleApp/SceneDelegate.swift @@ -99,7 +99,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { result in switch result { case .success(_): - CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift") + CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift") break case .failure(let error): print( "Initialization Error: \(error.localizedDescription)") diff --git a/SampleAppPushNotificationAPNs/Info.plist b/SampleAppPushNotificationAPNs/Info.plist index 4ae469e0..ac3571fa 100644 --- a/SampleAppPushNotificationAPNs/Info.plist +++ b/SampleAppPushNotificationAPNs/Info.plist @@ -21,7 +21,7 @@ CometChatSDK - 4.0.53 + 4.0.54 GIDClientID YOUR_DOT_REVERSED_IOS_CLIENT_ID UIApplicationSceneManifest diff --git a/SampleAppPushNotificationAPNs/SceneDelegate.swift b/SampleAppPushNotificationAPNs/SceneDelegate.swift index 9ee59319..b42e73bb 100644 --- a/SampleAppPushNotificationAPNs/SceneDelegate.swift +++ b/SampleAppPushNotificationAPNs/SceneDelegate.swift @@ -99,7 +99,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { result in switch result { case .success(_): - CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift") + CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift") break case .failure(let error): print( "Initialization Error: \(error.localizedDescription)")