Hey, check my blog too: Tulio Calil Dev
First, start the develop server on your terminal:
yarn start
Now, open the ios
folder on XCode:
xed ios
Connect your iOS device with a USB cable, and choose then on XCode:
You need to enable Develop mode
Now, click on your Scheme
and choose "Edit Scheme":
In the "Run" option, change the Build Configuration
to Debug
:
Now, run the project.
Maybe you will be asked to unlock your device to install the application.
Now, on your Mac/Hackintosh 😁 go to Settings
> Network
.
In "Other services" click on your iOS device and in Details
.
Uncheck the Disable unless needed
option and hit Ok
:
Now go back to the Network
menu, and choose the device, you will see some like this:
Copy the IP address, go to Reactotron config, and add the host
option with this IP:
Reactotron
.configure({host:'172.20.10.2'})
.connect()
When the application is running, shake your device to open the React Native Debug Menu
If you can't shake it, check this
On the menu, choose the option Configure Bundler
, in the first modal input, put the IP, and hit Apply Changes
(the other inputs will be the default).
The application will load the bundle and all should work now!
Top comments (1)
Nice now i just need an iphone haha