Comment on page
Installing UIKit (deprecated)
Installing managed UIKit through Cocoapods, Carthage & SPM.
This section is about installing managed uikit through dependency manager. If you have already installed our Open Source UIKit, you can skip this section.
To provide greater customization options, we have open-sourced our UIKit and deprecated the pacakged UIKit version previously available. For the best quality and access to the latest features, we strongly recommend integrating our UIKit with the open-source version. For more details Please refer to iOS UIKit Installation Guide section.
Go to Xcode and create a project for iOS.
- 1.Enter a project name
- 2.Select Swift as your language option
AmityUIKitsupports installation via dependency managers, we highly recommend SwiftPM installation as best practice.
To integrate AmityUIKit into your project via SwiftPM, please follow the instruction below.
Enter the repository URL to search the package, and choose to install
binary "https://raw.githubusercontent.com/AmityCo/Amity-Social-Cloud-UIKit-iOS/main/AmityUIKit.json" ~> 2.0
Now you can install Amity Social UIKit into your project by running the following command.
$ carthage update
$ pod init
Then, add the following lines to the
target 'SampleApp' do
Now you can install Amity Social UIKit into your project.
$ pod install
If problems happen during
pod installstep. Please try clean Cocoapods cache before running
To clear cache please go to
~/Library/Caches/Cocoapodsand remove all folders.
After finished installing SDK. You will be able to import
AmityUIKit already includes our SDK. Don’t install AmitySDK separately if you have already installed the UIKit.
Last modified 1d ago