Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-native: How to build for ios from windows

We are starting to work with react-native at my company. We have one mac and the rest of the team is running on windows.

Is there a way to write the app on windows with the ios device connected to the windows machine or local wifi. Then launch the build on the mac (from the windows pc) and get the app launched on the ios device ? So it would like using the mac only as a build/package server.

Hope i am clear enought.

Thanks.

like image 249
simon Le Ster Avatar asked Nov 14 '16 11:11

simon Le Ster


People also ask

Can I build React Native for iOS on Windows?

While you can write React Native apps for iOS on Windows, you need a special Apple tool, Xcode, to build the app for iOS.

Can I build iOS app using React Native?

React Native enables you to write Android and iOS apps using JavaScript. It uses React's virtual DOM concept to manipulate native platform UI components, providing a familiar experience to users. There are two ways to build iOS apps: React Native CLI: More complex but gives you more control over your app.

Can I build for iOS on Windows?

Since, without using Xcode (an IDE), you cannot build or publish iOS apps. This is because Xcode only runs on macOS with the iOS SDK. However, if you wish to develop iOS app on Windows, you need virtualization software. Using a virtual machine such as VirtualBox and VMware, you get access to virtual Mac OS.


Video Answer


1 Answers

We can launch the build on windows using Virtual Machine, the detailed steps for doing that can be found in the following link:

https://blog.udemy.com/xcode-on-windows/

like image 93
KrishnaCA Avatar answered Sep 20 '22 03:09

KrishnaCA