Add iOS sample app readme

This commit is contained in:
Nick Bourdakos
2023-04-11 15:16:38 -04:00
parent 18db653e62
commit 78908237c7
3 changed files with 27 additions and 0 deletions
@@ -0,0 +1,27 @@
# Nearby Connections iOS Example
A sample app for using Nearby Connections in iOS.
## Setup
1. Clone the Nearby repo with all submodules by running the following command:
```bash
git clone --recurse-submodules https://github.com/google/nearby.git
```
2. Open the sample app in Xcode:
```bash
open nearby/connections/swift/NearbyConnections/Example/iOS\ Example.xcodeproj
```
3. Choose a development team by navigating to `iOS Example` > `iOS Example` under "Targets" > `Signing & Capabilities` and then choosing your team from the "team" drop-down:
![development team](../Resources/development-team.png)
## Run the App
The app can be run pressing the "run" button or the <kbd>Command</kbd> + <kbd>R</kbd> keyboard shortcut:
![run](../Resources/run.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 750 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 KiB