Authentication with apple developer portal failed! - [expo build: ios]

When I run the command expo build :ios I am getting the following error.

(For your information I am using windows machine and I have installed WSL. Already I have built an .ipa file in this machine using the command expo build: ios. But now facing this issue)

Expo Diagnostics Result are as follow

Expo CLI 3.15.4 environment info:
      OS: Windows 10 10.0.18363
      Node: 13.11.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD
      Android Studio: Version AI-192.7142.36.36.6241897
      expo: ~36.0.0 => 36.0.2 
      react: ~16.9.0 => 16.9.0 
      react-native: => 0.61.4 

Please do not duplicate your questions and post them in the correct place, every category has a clear description of what type of topics should be posted there. This is correct category (this isn’t expo build: ios apple authentication fails)

You can try to

  • upgrade expo-cli to the latest version
  • make sure that WSL works correctly, I’m not using WSL, so I’m not sure about details here, but most of the windows issues are related to that.