# Setup

## Requirements

* Xcode 12.0 or later
* iOS 12.0 or later
* Swift 5.0 or later

### **Permission**

To use DcentBiometric, you must add blutooth permission to the `info.plist`<br>

<figure><img src="https://3196447716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSabI0mrlgeosuXblg3%2Fuploads%2FuGILVUmwG9WwZxpLN74r%2Fimage.png?alt=media&#x26;token=98d4c7a1-f475-41c3-8021-98f3aac09728" alt=""><figcaption></figcaption></figure>

**Note: External Library**

> [SwiftProtobuf](https://cocoapods.org/pods/SwiftProtobuf), [BigInt](https://cocoapods.org/pods/BigInt)

To install external library, simply add the following line to your Podfile:

```
# Pods for DcentBiometric
pod 'SwiftProtobuf'
pod 'BigInt', '~> 5.0'
```

## iOS App Setup

You can develop wallet application using our iOS sdk. The wam.framework is our sdk framework file.

<figure><img src="https://3196447716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSabI0mrlgeosuXblg3%2Fuploads%2F3VnrGSm12bJqqFZNIWxZ%2Fimage.png?alt=media&#x26;token=38285b66-35b9-4af0-b202-12a8bf74a73f" alt=""><figcaption></figcaption></figure>

1. Copy DcentBiometric.framework to your iOS application project
2. Click on Project Navigator ( 1 in the above image).
3. Select Targets ( 2 in the above image).
4. Select General ( 3 in the above image).
5. Click on "+'' Button (4 in above image).
6. Select framework DcentBiometric.framework
7. Including Frameworks in Your Project

```swift
import DcentBiometric
```
