# iOS カスタムビルド版デバッガー

Monaca デバッガーは、アプリのテストを効率化するためのアプリケーションです。

Monaca デバッガーを使うと、ソースコードを保存するだけで、すぐに実機上でアプリの動作を確認できます。アプリの動作を確認するために、アプリをビルドする必要も、端末にインストールする必要もありません。

## カスタムビルド版デバッガーとは

カスタムビルド版デバッガーは、プロジェクトで利用しているプラグインを搭載したデバッグ用アプリです。テストを行いたいプロジェクトのプラグインや設定情報をもとに、そのプロジェクトに特化したデバッグ用アプリを作成できます。

たとえば、開発しているプロジェクトで、バーコードスキャナープラグインを利用している場合、バーコードスキャナープラグインを搭載したデバッグ用アプリを作成できます。一度、カスタムビルド版デバッガーを作成すれば、プロジェクトのソースコードを編集する度に、編集した内容が実機端末へ自動で同期され、編集内容をすぐに確認することができます。

## 利用方法

### 1. 事前準備

カスタムビルド版 デバッガーを作成するため、次の証明書類が必要となります。

[iOSビルドの事前準備](https://ja.docs.monaca.io/build-app/build-for-ios)を参考に用意します。iOSのデバッグビルドに必要となるものと同一です。

* 秘密鍵
* 開発用 証明書
* 開発用 プロビジョニング プロファイル

### 2. アプリのビルド

次の手順でデバッガーのビルドを行い、実機端末にインストールします。

1. Monaca クラウド IDEにログインし、デバッグ を行うプロジェクトを開きます。
2. IDE メニューから `ビルド → iOSアプリのビルド` を選択します。
3. `カスタムビルドデバッガー` を選択し、`ビルドを開始する` をクリックします。
4. ビルドが完了すると、ビルドしたアプリは、QR コードを使用して端末にインストール、または、ファイルを PC へダウンロードすることができます。

<figure><img src="https://3046938759-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWrOnV1iKerkfShm9O%2Fuploads%2FQMaQyMMHMj2BN72z4TwP%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202022-12-20%2023.05.34.png?alt=media&#x26;token=60849c17-15ac-4f69-92f6-a7c1e3c61459" alt=""><figcaption><p>カスタムビルドデバッガーを選択</p></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://ja.docs.monaca.io/products_guide/debugger/custom-built-debugger-for-ios.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.
