Run React Native application on a Windows PC iphone

Asked

Viewed 4,130 times

2

Good afternoon, I wonder if you have any way to run apps developed in React Native directly on my iPhone device but using Windows to write the codes.

  • You can rent a MAC in the cloud and do this. Or create a virtual machine ( but it doesn’t get 100%)

2 answers

3


Speak mine, it is possible yes. I will answer your question and talk about other ways to emulate iOS. One of them would be to rent a mac in the cloud. There are several companies that work in this follow-up, but this https://virtualmacosx.com/ and that https://www.macincloud.com/ are the main ones. Another way is a little more complicated, but already tested and worked super well. Another way would be to do a hackintosh, which is nothing more than to run a macOS in windows. On youtube there are many tutorials regarding the subject and if you are interested, I can pass the link of how I did mine. And finally, has the Expo. With it you can run your apps on both Android and iOS. But to run on iOS, you need to have an iPhone. It is very practical, and a very quick solution for your projects. I’ll leave this link for you to take a look at how to do in practice: https://www.youtube.com/watch?v=bTfaLDDLCqQ

0

Unable to execute command react-native run-ios in Windows, therefore, to compile the project code done in React Native you need the Xcode tool that only works in OSX (Apple Operating System).

There are some solutions in the market, however, they are either too tricky or too slow.

Currently, the Expo is starting to be used a lot. Expo allows you to create Android and iOS apps on your Windows / Linux machine without having to install the Xcode or Android Studio, using the Expo SDK and the app.

Advert - https://facebook.github.io/react-native/blog/2017/03/13/introducing-create-react-native-app.html

Browser other questions tagged

You are not signed in. Login or sign up in order to post.