# iOS App Simulator Build

By using `Simulator Build` , you can test the application using iOS Simulator on macOS. Any Certifications, provisioning profiles, or subscriptions of the Apple Developper Program are not required for `Simulator Build` .

### Restrictions

* It is not possible to install the simulator build on any iOS devices.
* The phone hardware is unavailable in Simulator. \
  For example:
  * Camera
  * Barcode Scanner
  * NFC Reader

### Requirements

* On macOS\
  The app built for Simulator works on macOS with Xcode's iOS Simulator.
* On Browser (via external web service)\
  The app built for Simulator works on web service like `Appetize.io`. It does not need Simulator.

### Test on the local Simulator

1. From the Monaca Cloud IDE menu, go to **Build→Build App for iOS**. Select the `Simulator Build` option and start build.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FDgXzsCO1JUqfzreCJ34b%2Fen_sim_build.png?alt=media&#x26;token=84996a1d-30ee-40fd-86b3-b5b912140407" alt=""><figcaption></figcaption></figure>

2\. After the build is completed, the `Download to Local PC` button will appear on the build result screen. \
Click the button to download the app.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FeMwuMwbmmEp2fqXgZM7Z%2Fen_sim_build_result.png?alt=media&#x26;token=9bf38836-befc-4bb7-90d1-7f19507762be" alt=""><figcaption></figcaption></figure>

3\. Extract downloaded zip file and drag & drop to Simulator.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FHJFvecXqMa4qnNPGaBN4%2Fen_sim_build_app_downloaded.png?alt=media&#x26;token=70eb03bd-a9a8-41b5-9629-aaf72140e1a6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FduMctMsoXiY8bQTpGQgH%2Fsim_build_app_drag_small.png?alt=media&#x26;token=7577c705-dd95-43c8-a88a-0b5c4464add4" alt=""><figcaption></figcaption></figure>

4\. The app can run on Simulator.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FVhMhEd1jpf7gDc6Mdemf%2Fsim_build_app_launch_small.png?alt=media&#x26;token=f9645e32-98d2-45e1-81fe-3af012677114" alt=""><figcaption></figcaption></figure>

### Test on Appetize.io

1. Prerequisites\
   In order to use `Appetize.io`, it is necessary to register the service and configure on Monaca Cloud IDE. \
   Please refer [Deploy to Appetize.io](https://ja.docs.monaca.io/products_guide/monaca_ide/monaca_ci/appetizeio) for registering `Appetize.io`.
2. From the Monaca Cloud IDE menu, go to **Build→Build App for iOS**.\
   Select the `Simulator Build` option and start build.\
   \
   After the build is completed, the `Deployment & Optional Services` section will appear on the bottom of the build result screen. \
   Select `Appetize.io`.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FSG3HPKZUITKGxJb5UpQu%2Fen_sim_build_deploy_appetize.png?alt=media&#x26;token=81111a34-7ef5-420f-8933-348ec36a8bef" alt=""><figcaption></figcaption></figure>

Click `Deploy` button and the app will be uploaded to `Appetize.io`.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FQjlZgEBE5kbZvpTgnhiT%2Fen_sim_build_deploy_appetize_exec.png?alt=media&#x26;token=9da6de38-13ce-49d4-a642-dac7ef4b3ef8" alt=""><figcaption></figcaption></figure>

3\. Sign in to `Appetize.io` and open [dashboard](https://appetize.io/apps).

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FMKWlIYlDy2i6113heU7h%2Fsim_build_appetize_dashboard.png?alt=media&#x26;token=fb6d5b00-5afe-4c30-9351-87844e20344f" alt=""><figcaption></figcaption></figure>

You can confirm that the app from Monaca is added to `Appetize.io`.

4\. Click `view` and run the app.

<figure><img src="https://3091308003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfWe1U2tFctp8FkP9W8%2Fuploads%2FBBhITlSX39QThKGcIzGl%2Fsim_build_appetize_launch.png?alt=media&#x26;token=bf98ff6c-c05a-4f82-9be0-8c434f71188d" alt=""><figcaption></figcaption></figure>

The app launches and you can test your app. \
For details of `Appetize.io`, see [Appetize.io Documentation](https://docs.appetize.io/)
