我想知道是否有任何方法可以构建我的 Expo应用程序与 Windows。每当我运行 exp build:ios 时,我都会收到以下警告:
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
为此我应该使用什么应用程序?即使我这样做,Expo 是否允许我为 IOS 构建?
或者,我可以使用像 Microsoft Appcenter 这样的服务来为我构建它吗?
最佳答案
- 以管理员身份打开 PowerShell 并运行:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- 出现提示时重新启动计算机。
引用:https://learn.microsoft.com/en-us/windows/wsl/install-win10
关于ios - 使用 Windows 为 IOS 构建 Expo 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50778011/