fachrifaul / xendit-sdk-ios-src

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xendit-sdk-ios-src

Ownership

Team: Credit Cards Team

Slack Channel: #p-cards-product

Slack Mentions: @troops-cards

Running Tests

  1. Install Cocoapods by running sudo gem install cocoapods. Additionally, you can read how to setup and use it in you app here. (Ruby is required)
  2. In console open repository root folder and install test dependencies by running pod install
  3. Open Xendit.xcworkspace

To run UI tests: choose Xendit scheme and press cmd+u (or "Run Product" -> "Test") To run unit tests: choose XenditExample scheme and press cmd+u

Run the app

Prerequisite

  • Latest xcode version
  • Cocoapods installed
  1. Open your terminal, go to the repository root folder on the and run pod install

  2. Open xcode, click on the Open a project or file

Screen Shot 2020-12-08 at 11 17 45

  1. Browse to the repository folder, and open Xendit.xcworkspace

Screen Shot 2020-12-08 at 11 18 18

  1. Click the project scheme button (its beside stop button)

Screen Shot 2020-12-08 at 11 23 22

  1. A dropdown list will appear, click Edit scheme...

Screen Shot 2020-12-08 at 11 24 26

  1. On the Run section, at the Info tab, click the Executable dropdown

Screen Shot 2020-12-08 at 11 28 21

  1. Select XenditExample.app and Close the window

Screen Shot 2020-12-08 at 11 30 31

  1. Click the Run button

Screen Shot 2020-12-08 at 11 32 29

  1. Wait for the app build and the simulator will showed up

Screen Shot 2020-12-08 at 11 34 43

Swift Package Manager

Xendit iOS SDK is compatible with Swift Package Manager, and provides target for consumption: Xendit.

About

License:MIT License


Languages

Language:Objective-C 50.5%Language:Swift 49.1%Language:Ruby 0.4%