Add instructions on how to run in a real device

This commit is contained in:
Tiago Jacobs
2022-02-12 03:51:33 -03:00
parent 82e2b6327b
commit 93ffe39b15

View File

@@ -21,6 +21,8 @@ npx react-native run-android
### MAC
#### Simulator
To build this application in mac, you need to run:
```sh
@@ -38,6 +40,18 @@ npx react-native run-ios --simulator="iPhone 13"
```
#### Real device
To run this application in a real ios device, you need to run:
```sh
#Install package
npm install -g ios-deploy
#Run
npx react-native run-ios --device "iPhone de TDJ"
```
#### Open project in XCODE
To change native code, you can run this command: