build - 使用 Apple Developer Portal 进行身份验证时,Expo 的 eas build 命令 (iOS) 失败
问题描述
我的团队已经开发了一个应用程序并正在发布到各自的应用程序商店。
尝试构建应用程序的用户是组织的成员,拥有苹果开发者帐户。
在运行“eas build”时,我们收到以下错误
eas build
✔ Build for platforms › All
✔ Linked to project @{user}/{ProjectName}
✔ Using remote Android credentials (Expo server)
Using Keystore from configuration: Build Credentials {ProjectName} (default)
✔ Compressed project files 1s (11.8 MB)
✔ Uploaded to EAS 21s
✔ Using remote iOS credentials (Expo server)
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes
› Log in to your Apple Developer account to continue
✔ Apple ID: … {user}@gmail.com
› Restoring session /Users/{user}/.app-store/auth/{user}@gmail.com/cookie
› Session expired Local session
› Using password for {user}@gmail.com from your local Keychain
Learn more: https://docs.expo.io/distribution/security#keychain
✔ Logged in New session
Authentication with Apple Developer Portal failed!
Error: Cannot extract key "teams" from response data of type string: <!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
...
</head>
</html>
解决方案
对于遇到相同问题的其他人,只需与团队管理员一起访问苹果开发者网站并接受新的条款和条件即可解决此问题。
推荐阅读
- angular - 访问 ngAfterViewInit 中的表单控件
- angular - 如何在 Angular 5 中以自定义类型映射 API 响应
- python - 对两个向量之间的非线性关系进行建模的算法
- spring-boot - 想同时使用redis和elasticsearch,但是出现类似'" availableProcessors is already set to [4], rejecting [4]"
- ios - Swift 为单选按钮创建自定义逻辑
- java - OptaPlanner 中 VRP 的 Min Max Tour
- javascript - 在分页和每页显示结果中选择全部,同时使用 JQuery 禁用和启用按钮
- javascript - ES6 解构:如何创建一个省略动态引用键的新对象
- language-agnostic - 与生产代码相比,测试代码的特点是什么
- python-3.x - 对于python3中的一些输入,列表的递增顺序不正确