-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #235 from omise/feature/MIT-1176
Remove Carthage as a supported installation method
- Loading branch information
Showing
1 changed file
with
0 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
# Opn Payments iOS SDK | ||
|
||
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat-square)](https://github.com/Carthage/Carthage) | ||
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Packager%20Manager-compatible-brightgreen?style=flat-square)](https://swift.org/package-manager) | ||
[![](https://img.shields.io/badge/email-support-yellow.svg?style=flat-square)](mailto:[email protected]) | ||
![CI](https://github.com/omise/omise-ios/workflows/CI/badge.svg?branch=master) | ||
|
@@ -43,31 +42,6 @@ through your server. | |
|
||
## Installation | ||
|
||
### Carthage | ||
|
||
To integrate the Opn Payments SDK into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), proceed with the following steps: | ||
|
||
1. Add the following line to your `Cartfile`: | ||
``` | ||
github "omise/omise-ios" | ||
``` | ||
|
||
2. Run `carthage update --use-xcframeworks`: | ||
|
||
``` bash | ||
$ carthage update --use-xcframeworks | ||
*** Fetching omise-ios | ||
*** Checking out omise-ios at "..." | ||
*** xcodebuild output can be found in /var/folders/sd/ccsbmstn2vbbqd7nk4fgkd040000gn/T/carthage-xcodebuild.X7ZfYB.log | ||
*** Building scheme "OmiseSDK" in OmiseSDK.xcodeproj | ||
``` | ||
|
||
3. Drag the built XCFramework from `/Carthage/Build` into your project. | ||
|
||
For more detailed instructions, please read the [official documentation for Carthage](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application). | ||
|
||
### Swift Package Manager (Xcode 12+) | ||
|
||
To integrate the Opn Payments SDK into your Xcode project using the [Swift Package Manager](https://swift.org/package-manager/), proceed with the following steps: | ||
|
||
1. In Xcode, select `File` > `Swift Packages` > `Add Package Dependency...` | ||
|