Skip to main content

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

  1. Add the following to your project's Podfile:

    ruby
    pod 'NexconnChat/Chat', '~> x.y.z'
    tip

    Replace x.y.z with the latest version. Run pod search NexconnChatSDK in the terminal to find the latest version.

  2. In the terminal, go to the Podfile directory and run:

    shell
    pod install
  3. Open the .xcworkspace file in Xcode to load the project.

Swift Package Manager

  1. Open your Xcode project.

  2. Go to File > Add Package Dependency.

  3. Paste the Nexconn SDK repository URL in the search field:

    https://github.com/NexconnAI-Dev/nexconn-chat-sdk-ios
  4. 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 PackageXCFrameworkDescription
NexconnChatSDKNexconnChatSDK.xcframeworkFull Chat SDK