Import the SDK
You can import the Nexconn Chat SDK using any of the following methods:
- CocoaPods (remote dependency)
- Swift Package Manager (SPM)
Requirements
- Xcode 14.0 or later
- iOS 13.0 or later
- Swift 5.0 or later (for SPM)
- CocoaPods 1.10.0 or later (for CocoaPods)
CocoaPods
-
Add the following to your project's
Podfile:rubypod 'NexconnChat/Chat', '~> x.y.z'tipReplace
x.y.zwith the latest version. Runpod search NexconnChatSDKin the terminal to find the latest version. -
In the terminal, go to the
Podfiledirectory and run:shellpod install -
Open the
.xcworkspacefile in Xcode to load the project.
Swift Package Manager
-
Open your Xcode project.
-
Go to File > Add Package Dependency.
-
Paste the Nexconn SDK repository URL in the search field:
https://github.com/NexconnAI-Dev/nexconn-chat-sdk-ios -
Select a version rule, check NexconnChatSDK, and click Add Package.
SDK components
The Nexconn SDK ships as a single package. Integrate one package to get all features:
| Swift Package | XCFramework | Description |
|---|---|---|
| NexconnChatSDK | NexconnChatSDK.xcframework | Full Chat SDK |