How to build and run your app on an emulator or device.
Build on an emulator
- Connect a device via a cable or select one of the emulators at the top of the screen, next to the build name (debug > iPhone).
- Click "▶".
- It is built, and you can view the application.
Build on a device
To run on a device with iOS 16 or newer, you will need to enable developer mode on the device in advance. You can take a look at the detailed instructions or follow these steps:
- Launch Xcode if not already running.
- Connect the device via a cable.
- Go to the device settings - "Privacy" - "Developer Mode" - enable.
- Restart the device and confirm the activation of developer mode in the window that appears after the restart).