# Download SDK

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

## PackageManager <a href="#packagemanager" id="packagemanager"></a>

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

* [CocoaPods](/ios/installation.md#cocoapods)
* [Carthage](/ios/installation.md#carthage)
* [Swift Package Manager](/ios/installation.md#swift-package-manager)
* [Manually](/ios/installation.md#manually)

{% hint style="info" %}
Please don't forget to [Add Build Phase](/ios/installation.md#attention-1) after setting up the package manager.
{% endhint %}

### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)

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

In your `Podfile`:

```swift
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
```

### [Carthage](https://github.com/Carthage/Carthage)

In your `Cartfile`:

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

See the [Carthage doc](https://github.com/googlemaps/google-maps-ios-utils/blob/main/docs/Carthage.md) for further installation instructions.

### [Swift Package Manager](https://github.com/apple/swift-package-manager)

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

```swift
dependencies: [
  .package(
    url: "https://github.com/dent-telecom/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](https://git-scm.com/docs/git-submodule) by running the following command:

```
$ git submodule add https://github.com/dent-telecom/gigastore-ios-sdk.git 
```

* Or [download](https://github.com/dentwireless/gigastore-ios-sdk) 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.

​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.giga.store/ios/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
