Installing UIKit (deprecated)

Installing managed UIKit through Cocoapods, Carthage & SPM.

This section is about installing managed UIKit through the dependency manager. If you have already installed our Open Source UIKit, you can skip this section.

circle-exclamation

Create a project

Go to Xcode and create a project for iOS.

  1. Enter a project name

  2. Select Swift as your language option

Using Dependency Manager

social.plus UIKit supports installation via dependency managers, we highly recommend SwiftPM installation as the best practice.

  • SwiftPM

  • Cocoapods

  • Carthage

SwiftPM Installation

To integrate social.plus UIKit into your project via SwiftPM, please follow the instructions below.

Enter the repository URL to search the package, and choose to install social.plus UIKit.

Carthage Installation

Carthagearrow-up-right is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate the social.plus UIKit. First, add the following to your Cartfile.

Now you can install social.plus UIKit into your project by running the following command.

Cocoapods Installation

If you are using CocoaPodsarrow-up-right to integrate social.plus UIKit into your Xcode project. First, open a terminal and run this command to create Podfile.

Then, add the following lines to the Podfile

Now you can install social.plus UIKit into your project.

If problems happen during pod install step. Please try cleaning Cocoapods cache before running pod install again.

To clear the cache please go to ~/Library/Caches/Cocoapods and remove all folders.

If this doesn't work, please visit the Cocoapods Githubarrow-up-right repo for further resolutions.

Usage

After finished installing SDK. You will be able to import AmityUIKit.

circle-exclamation

Last updated

Was this helpful?