I am new in react-native. I want to build an android and iOS application by using react-native. I used the Windows 10 to build the react-native project and it is ok when I run the android app using Android SDK or real device but cannot on iOS devices. I have researched this problem and know that I need to use macOS to run the iOS apps. Is it possible to build iOS apps using any iOS simulator on Windows 10?
for exporting ios apps you must have a MAC system(X-code) or you can do it in windows with VMvare that have a virtual Mac system ,and in next step you must have a developer account then other steps are simple :)
The best way to develop in react native if you did not have access to MAC OSX environment is to use EXPO as it will ensured the app could run on android and iOS.
The second option would be using private cloud Mac like MacStadium.
Related
So I just started out to learn react-native but I found out that to build both iOS and Android requires OS X. I use Ubuntu but I haven't heard or read from somewhere about Linux writing react-native applications.
You can't build iOS app without XCode. Maybe you can do this using virtual machine.
I'd like to know how I can develop using linux (for example debian 9) and use my iPhone to see what I am developing.
I don't want to use macOS to do this and the best would be to see the result under Android and iOS without simulator, directly on phones.
Thanks for help !
If you want to stuck with Linux OS. You can test you app on android variant only (on both emulator or physical device)
In order to test your app on iOS you need to have a mac machine to generate / build the project.
If you don't have a mac system you can go with Expo SDK.
Expo is a free and open source toolchain built around React Native to help you build native iOS and Android projects using JavaScript and React.
You can easily get started here
I have a Windows-machine and would like to use React Native for developing cross-platform UWP (so no Expo) and iOS apps. I also have a MacBook that I would like to use as a build host, like you can do with Xamarin.
Can remote build and iOS simulation with XCode be done using React Native and if so, how?
You can use Jenkins to turn your Mac in a build server. If you need the simulator you could use a screen sharing program like VNC.
I need to publish my react native application to test flight from windows environment
You can't do it on Windows 10.
You need XCode to archive the app and send it to ITunes, where you can use tesflight
Actually, you can't even run the iOS app on Device without XCode.
https://facebook.github.io/react-native/docs/running-on-device#docsNav
I want to write an application targeted at both iOS and Android. Is it possible to develop a React Native app on Windows using a network connected Mac? For example, using Visual Studio Code on Windows and debugging on a network connected Mac?
I'm using Atom and IDE to make react-native app.
To test on iOS, maybe you could use this but the best would be to have a iPhone with you, to install your app and use Code Push to auto update the app on your phone. The other solution would be to install an macOS Emulator on your computer.