Hi,
I have been lately trying to build iOS on windows machine with errors and no clue what is wrong. I Have enabled WSL and installed ubuntu on Windows 10. I have also verified with “wsl ls” on windows powershell that it works as expected. When i run the iOS build i get following error. Any help would be appreciated.
Authentication with Apple Developer Portal failed!
bash exited with non-zero code: 127
Error: bash exited with non-zero code: 127
at ChildProcess.completionListener (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\spawn-async\src\spawnAsync.ts:65:13)
at Object.onceWrapper (events.js:277:13)
at ChildProcess.emit (events.js:189:13)
at ChildProcess.cp.emit (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
…
at spawnAsync (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\spawn-async\src\spawnAsync.ts:26:19)
at _callee$ (C:\expo-cli@2.18.2\src\commands\build\ios\appleApi\fastlane.js:16:28)
at tryCatch (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:62:40)
at Generator.invoke [as _invoke] (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:114:21)
at step (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:35:14
at new Promise ()
at new F (C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\core-js\library\modules_export.js:36:28)
at C:\Users\Arvind Sedha\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:14:12