├── .gitattributes
├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── .gitignore
├── .swiftpm
└── xcode
│ ├── package.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ ├── admin.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
│ │ └── apple.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
│ ├── xcshareddata
│ └── xcschemes
│ │ └── CometChatSDK.xcscheme
│ └── xcuserdata
│ └── admin.xcuserdatad
│ └── xcschemes
│ └── xcschememanagement.plist
├── CometChatSDK
└── CometChatSDK.podspec
├── Package.swift
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | Vendors/JitsiMeet.framework/JitsiMeet filter=lfs diff=lfs merge=lfs -text
2 | *.framework filter=lfs diff=lfs merge=lfs -text
3 | *.xcframework filter=lfs diff=lfs merge=lfs -text
4 | /Users/JEET/Desktop/newSDKRELEASEREPO/ios-chat-sdk/Vendors/JitsiMeet.xcframework/ios-armv7_arm64/jitsiMeet.framework/JitsiMeet filter=lfs diff=lfs merge=lfs -text
5 | Vendors/JitsiMeet.xcframework/ios-armv7_arm64/jitsiMeet.framework/JitsiMeet filter=lfs diff=lfs merge=lfs -text
6 | Vendors/JitsiMeet.xcframework/ios-i386_x86_64-simulator/jitsiMeet.framework/JitsiMeet filter=lfs diff=lfs merge=lfs -text
7 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 |
3 | name: Bug report
4 | about: Create a report to help us improve
5 | title: "[SDK-Version] Issue Title "
6 | labels: ''
7 | assignees: ''
8 |
9 |
10 | ---
11 |
12 | **Describe the bug**
13 | A clear and concise description of what the bug is.
14 |
15 | **To Reproduce**
16 | Steps to reproduce the behavior:
17 | 1. Go to '...'
18 | 2. Click on '....'
19 | 3. Scroll down to '....'
20 | 4. See error
21 |
22 | **Expected behavior**
23 | A clear and concise description of what you expected to happen.
24 |
25 | **Actual behavior**
26 | A clear and concise description of what you exactly is happening.
27 |
28 | **Screenshots** (optional)
29 | If applicable, add screenshots to help explain your problem.
30 |
31 | **Enviorment/Platfrom (please complete the following information):**
32 | - iOS Version[ e.g iOS 12.1 ]
33 | - CometChat SDK Version[ e.g. 1.8.4]
34 |
35 | **Files (Optional)**
36 | - `podfile`
37 |
38 | **Logs (Error Logs)**
39 | - Error Log
40 | - Debug Log
41 |
42 | **Additional context**
43 | Add any other context about the problem here.
44 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.DS_Store
2 |
--------------------------------------------------------------------------------
/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.swiftpm/xcode/package.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/chat-sdk-ios/31c3a3339d1eeb41dec82ec9bb575c1508984e8f/.swiftpm/xcode/package.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/.swiftpm/xcode/package.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/chat-sdk-ios/31c3a3339d1eeb41dec82ec9bb575c1508984e8f/.swiftpm/xcode/package.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/.swiftpm/xcode/xcshareddata/xcschemes/CometChatSDK.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
42 |
43 |
49 |
50 |
56 |
57 |
58 |
59 |
61 |
62 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/.swiftpm/xcode/xcuserdata/admin.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | CometChatPro.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 2
11 |
12 | CometChatSDK.xcscheme_^#shared#^_
13 |
14 | orderHint
15 | 1
16 |
17 | chat-sdk-ios-Package.xcscheme_^#shared#^_
18 |
19 | orderHint
20 | 0
21 |
22 | ios-chat-sdk-Package.xcscheme_^#shared#^_
23 |
24 | orderHint
25 | 1
26 |
27 |
28 | SuppressBuildableAutocreation
29 |
30 | CometChatPro
31 |
32 | primary
33 |
34 |
35 | chat-sdk-ios
36 |
37 | primary
38 |
39 |
40 | ios-chat-sdk
41 |
42 | primary
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/CometChatSDK/CometChatSDK.podspec:
--------------------------------------------------------------------------------
1 | Pod::Spec.new do |spec|
2 | spec.name = 'CometChatSDK'
3 | spec.version = '4.0.56'
4 | spec.license = {:type => 'MIT', :file => 'License.md'}
5 | spec.homepage = 'https://www.cometchat.com'
6 | spec.authors = { 'Suryansh Bisen' => 'suryansh.bisen@cometchat.com' }
7 | spec.summary = 'CometChat is a platform for integrating voice, video & text messaging experiences into your websites, web apps and mobile apps'
8 | spec.source = { :http => 'https://library.cometchat.io/ios/v4.0/xcode15/CometChatSDK_4_0_56.zip'}
9 | spec.library = 'z', 'sqlite3', 'xml2.2'
10 | spec.xcconfig = {'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2'}
11 | spec.documentation_url = 'https://www.cometchat.com/docs/ios-chat-sdk/overview'
12 | spec.vendored_frameworks = 'Vendors/CometChatSDK.xcframework', 'Vendors/CometChatStarscream.xcframework'
13 | spec.resource_bundles = {'CometChatSDK' => ['Vendors/CometChatSDK.xcframework/PrivacyInfo.xcprivacy']}
14 | spec.exclude_files = "Classes/Exclude"
15 | spec.platform = :ios, "11.0"
16 | end
17 |
--------------------------------------------------------------------------------
/Package.swift:
--------------------------------------------------------------------------------
1 | // swift-tools-version:5.3
2 | // The swift-tools-version declares the minimum version of Swift required to build this package.
3 |
4 | import PackageDescription
5 |
6 | let package = Package(
7 | name: "CometChatSDK",
8 | platforms: [
9 | // Only add support for iOS 11 and up.
10 | .iOS(.v11)
11 | ],
12 | products: [
13 | .library(name: "CometChatSDK", targets: ["CometChatSDK","CometChatStarscream"])
14 | ],
15 | targets: [
16 | .binaryTarget(
17 | name: "CometChatSDK",
18 | url: "https://library.cometchat.io/ios/v4.0/xcode16/CometChatSDK_4_0_60.xcframework.zip",
19 | checksum: "d64ce9a40d2e50e845750c3cdb8d54bf1a718d2dc85ba65962b8fa54db774578"
20 | ),
21 | .binaryTarget(
22 | name: "CometChatStarscream",
23 | url: "https://library.cometchat.io/ios/v4.0/xcode15/CometChatStarscream_1_0_2.xcframework.zip",
24 | checksum: "94fef289d5b952bb06465e7631be83b40594072931a580a9e8ba86258b9f0ec5"
25 | )
26 | ]
27 | )
28 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | # CometChat SDK for iOS
6 | The CometChat SDK is a robust toolkit that developers can utilize to swiftly incorporate a reliable and fully-featured chat functionality into an existing or new application. It removes the complexity of building a chat infrastructure from scratch, thus accelerating the development process and reducing time to market.
7 |
8 | ## Prerequisites
9 | - XCode (Above Xcode 12 Recommended)
10 | - iOS 11 and above
11 |
12 | ## Getting Started
13 | To set up iOS SDK and utilize CometChat for your chat and calls functionality, you'll need to follow these steps:
14 | - Register at the [CometChat Dashboard](https://app.cometchat.com/) to create an account.
15 | - After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep these credentials secure as you'll need them later.
16 | - Check the [key concepts](https://www.cometchat.com/docs/sdk/ios/key-concepts) to understand the basic components of CometChat.
17 | - Refer to the [Integration Steps](https://www.cometchat.com/docs/sdk/ios/setup) in our documentation to integrate the SDK into your i app.
18 |
19 | ## Help and Support
20 | For issues running the project or integrating with our SDK, consult our [documentation](https://www.cometchat.com/docs/sdk/ios/overview) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).
21 |
--------------------------------------------------------------------------------