# 프로젝트 설정

### SDK 연동을 위한 준비

* Unity 2019 이상
* Android
  * minSdkVersion 15 이상
* iOS
  * iOS 12.0 이상
  * Xcode 16.0 이상
  * CocoaPods

### SDK 설치

#### 1. SDK 다운로드 및 설치

* AdPie Unity Package [다운로드](https://github.com/gomfactory/AdPie-Unity-SDK/raw/master/AdPieUnity-1.1.2.unitypackage) 합니다.
* Unity 프로그램에서 `Assets > Import Package > Custom Package...` 을 통해 압축 해지하여 `AdPieUnity-x.x.x.unitypackage` 파일을 선택하여 Import를 진행합니다.

  <figure><img src="https://github.com/gomfactory/AdPie-Unity-SDK/wiki/image/unity_sample_screen_02.png" alt=""><figcaption></figcaption></figure>

#### 2. Android 프로젝트 설정

* Assets > External Dependency Manager > Android Resolver > Settings를 선택하고 `Use Jetifier` 체크 후 `Force Resolver` 를 실행합니다.\
  &#x20;

  <figure><img src="https://github.com/gomfactory/AdPie-Unity-SDK/wiki/image/unity_sample_screen_03.png" alt=""><figcaption></figcaption></figure>
* File > Build Settings > Platform에서 Android 선택 > Player Settings > Publishing Settings 로 이동한 다음, "`Custom Main Gradle Template`" 및 "`Custom Gradle Properties Template`" 체크합니다.

  <figure><img src="https://github.com/gomfactory/AdPie-Unity-SDK/wiki/image/unity_sample_screen_04.png" alt=""><figcaption></figcaption></figure>

#### 3. iOS 프로젝트 설정

* Xcode 14 이상부터, 비트코드를 사용한 빌드가 지원되지 않으므로, Build Settings의 각 빌드 타겟 (Unity-iPhone, UnityFramework)에서 비트코드 설정을 "No"로 변경합니다.

<figure><img src="https://github.com/gomfactory/AdPie-Unity-SDK/wiki/image/unity_sample_screen_05.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://github.com/gomfactory/AdPie-Unity-SDK/wiki/image/unity_sample_screen_06.png" alt=""><figcaption></figcaption></figure>


---

# 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://platform-business.gitbook.io/adpie/unity/project-settings.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.
