Add instructions on how to run in a real device
This commit is contained in:
14
README.md
14
README.md
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user