Skip to content

Installation

Before integrating the Ascend iOS SDK, ensure your project meets the following requirements:

  • iOS Version: Minimum iOS 13.0
  • Swift Version: 5.0 or higher
  • Xcode: 12.0 or higher
  • Deployment Target: iOS 13.0 or later

In Xcode:

  1. Go to File > Add Packages…
  2. Enter the package repository URL:
    https://github.com/dream-horizon-org/ascend-ios
  3. Select the Ascend package
  4. Choose the version you want to use (preferably use a specific tag like 1.0.0)
  5. Click Add Package

Alternatively, add the dependency directly in your Package.swift:

dependencies: [
.package(url: "https://github.com/dream-horizon-org/ascend-ios", from: "1.0.0")
]

Add the following to your Podfile:

platform :ios, '11.0'
target 'YourApp' do
use_frameworks!
pod 'Ascend', :git => 'https://github.com/dream-horizon-org/ascend-ios.git', :tag => '1.0.0'
end

Run the following command in your terminal:

Terminal window
pod install

  1. Clone the repository:

    Terminal window
    git clone https://github.com/dream-horizon-org/ascend-ios.git
  2. Drag the Sources folder into your Xcode project

  3. Make sure to add the following frameworks to your project:

    • Foundation
    • UIKit
    • SystemConfiguration
    • CoreLocation

After installation, import the SDK in your Swift files:

import Ascend

After installation, verify that you can import the SDK:

import Ascend

If the import succeeds, the SDK is properly installed.