DENT Gigastore Documentation
  • Introduction
  • Start with Gigastore
    • Create an Account
    • Add Credits
    • Configure Inventory
    • Set Up Auto Top-Up for Credits
  • Technical Integration
    • API Integration
    • SDK Integration
  • API
    • Getting started
    • Open API Specification
    • Postman Collection
    • API Authentification
    • Offering Packages
    • Countries API
    • Supported Devices API
    • Customers
    • First Package
    • eSIM Profiles
    • Top-up
    • Package Refund
    • Error Handling
  • Webhooks
    • First Steps
    • eSIM Status
    • Balance Alert
    • Country Change
  • iOS SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • iOS Universal Link
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
  • Android SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
    • Testing
  • SDK Webhooks
    • Activation Request
    • Customer Registration
  • Guidelines
    • UX Guide
  • Customer support
    • Gigastore for Support Teams
    • Connectivity
    • Changing Device
    • Package Refund
Powered by GitBook
On this page
  • PackageManager
  • CocoaPods
  • Carthage
  • Swift Package Manager
  • Manually

Was this helpful?

  1. iOS SDK

Download SDK

PreviousFirst StepsNextEnable Direct Installation

Last updated 6 months ago

Was this helpful?

You can download the SDK using one of the supported package managers.

PackageManager

Use a package manager of your choice to integrate the SDK into your Xcode project:

Please don't forget to after setting up the package manager.

Note: This feature is only available with CocoaPods 1.10.0 or later.

In your Podfile:

use_frameworks!

platform :ios, '11.0'

target 'TARGET_NAME' do
    pod 'DENTGigastoreSDK', :git => 'https://github.com/dent-telecom/gigastore-ios-sdk.git', 
                              :tag => '1.0.0'
end

Replace TARGET_NAME. Then, in the Podfile directory, type:

$ pod install

In your Cartfile:

binary "https://camelapi.io/ios-sdk/release/DENTGigastoreSDK.json" ~> 1.0.0

Note: This feature is only available with Swift 5.3 (Xcode 12) or later.

Add the following to your dependencies value of your Package.swift file.

dependencies: [
  .package(
    url: "https://github.com/dentwireless/gigastore-ios-sdk.git",
    from: "1.0.0")
  )
]

Manually

Embed Framework

  • Open up Terminal, cd into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:

$ git init
$ git submodule add https://github.com/dentwireless/gigastore-ios-sdk.git
  • Open the new DENTGigastoreSDK folder, and drag the DENTGigastoreSDK.xcframework file into the Project Navigator of your application's Xcode project.

It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.

  • Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.

  • In the tab bar at the top of that window, open the "General" panel.

  • Go to the "Embedded Binaries" section.

  • Set the checkmark for "Code Sign On Copy" on the DENTGigastoreSDK.xcframework

  • And that's it!

The DENTGigastoreSDK.xcframework is automatically added as a target dependency, linked framework and embedded framework in a copy files build phase. This is all you need to create a build for the simulator or a device.

​

See the for further installation instructions.

Add DENTGigastoreSDK as a git by running the following command:

Or the DENTGigastoreSDK.xcframework manually

Carthage
Carthage doc
Swift Package Manager
submodule
download
CocoaPods
CocoaPods
Carthage
Swift Package Manager
Manually
Add Build Phase