Download SDK

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 Add Build Phase 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

See the Carthage doc for further installation instructions.

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
  • Add DENTGigastoreSDK as a git submodule by running the following command:

$ git submodule add https://github.com/dentwireless/gigastore-ios-sdk.git
  • Or download the DENTGigastoreSDK.xcframework manually

  • 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.

Last updated