# 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>
