# Step 1: Get Started

### Swift Package Manager <a href="#swift-package-manager" id="swift-package-manager"></a>

To install AppConsentUnified using [Swift Package Manager](https://github.com/apple/swift-package-manager) you can follow the [tutorial published by Apple](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app) using the URL for this repo with the current version:

1. In Xcode, select “File” → “Add Packages...”
2. Enter <https://gitlab.datalf.chat/customers/appconsent-ios-unified.git>

or you can add the following dependency to your Package.swift:

```swift
.package(url: "https://gitlab.datalf.chat/customers/appconsent-ios-unified.git", from: "1.0.0" )
```

and add it to your target like this:

```swift
dependencies: [
  .package(url: "https://gitlab.datalf.chat/customers/appconsent-ios-unified.git", from: "1.0.0")
]
```

### Drag & Drop XCFramework <a href="#drag-drop-xcframework" id="drag-drop-xcframework"></a>

Download AppConsentUnified XCFramework from the AppConsentUnified repository.

AppConsentUnified <https://gitlab.datalf.chat/customers/appconsent-ios-unified>

In General tab of your application target, drag and drop the **`AppConsentUnified.xcframework`** in Frameworks, Libraires and Embedded Content. \
\
Make sure the XCFrameworks are Embed & Sign.

<br>


---

# 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.sfbx.io/configuration/step-3-notice-implementation-web-app-tv/ios/appconsent-unified-sdk/step-1-get-started.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.
