Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Expo app for IOS with windows

I was wondering if there was any way for me to build my Expo app with Windows. Whenever I run exp build:ios, I get the following warning:

Does not seem like WSL enabled on this machine. Download from the Windows app store a distribution of Linux, then in an admin powershell, please run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem->Linux

and run the new Linux installation at least once

What app should I use for this? And even if I do it, will Expo allow me to build for IOS?

Alternatively, can I use a service like Microsoft Appcenter to build it for me?

like image 991
karthik jain Avatar asked Jun 09 '18 19:06

karthik jain


People also ask

Can we run Expo build iOS in Windows?

You don't need macOS to build an iOS app with Expo. You only need an iOS device to run the Expo Go app. Windows, Linux, and macOS are all supported for your development machine.

Can we test iOS apps on Windows?

There are two ways to test iOS apps on Windows – Manual App Testing (that is testing an iOS app on your physical Windows PC) and Automated App Testing. We will be discussing the automation approach in detail. Login to Browserstack platform and launch App automate.

Can I use Xcode on Windows?

Given that Xcode works only on macOS, a solution to get Xcode on Windows would be to install macOS on a Windows PC by means of a virtualization app such as VMware or VirtualBox. Using a virtualization platform provides users with the full functionality of Xcode on your Windows machine.


1 Answers

  1. Open PowerShell as Administrator and run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  1. Restart your computer when prompted.

Reference: https://docs.microsoft.com/en-us/windows/wsl/install-win10

like image 53
Khasky Avatar answered Sep 20 '22 19:09

Khasky