Reputation: 135
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?
Upvotes: 8
Views: 20113
Reputation: 361
Open powershell as administrator and paste Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart the computer, then run the command expo build:ios
Upvotes: 4
Reputation: 130
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Reference: https://learn.microsoft.com/en-us/windows/wsl/install-win10
Upvotes: 9
Reputation: 81
Expo builds all the binaries on their servers, therefore you can do this on any OS (including Windows). Some of the Expo tools require the Linux subsystem on Windows, therefore you need to install that, but then everything works correctly.
Upvotes: 5