Yul*_*nez 5 continuous-integration ios gitlab-ci react-native expo
我正在尝试通过 Gitlab-CI 使用 Expo配置自动构建 iOS 应用程序。这是我正在使用的命令:
expo login -u expo_user -p expo_pass
expo build:ios --non-interactive --apple-id my_id@domain.com --clear-dist-cert --clear-provisioning-profile --dist-p12-path "path_to_file.p12" --provisioning-profile-path "path_to_file.mobileprovision"
Run Code Online (Sandbox Code Playgroud)
我已经传递了这个环境变量的相应值:
expo login -u expo_user -p expo_pass
expo build:ios --non-interactive --apple-id my_id@domain.com --clear-dist-cert --clear-provisioning-profile --dist-p12-path "path_to_file.p12" --provisioning-profile-path "path_to_file.mobileprovision"
Run Code Online (Sandbox Code Playgroud)
在第二个命令执行期间,它会启动此日志:
EXPO_APPLE_PASSWORD
EXPO_IOS_DIST_P12_PASSWORD
Run Code Online (Sandbox Code Playgroud)
我正在使用的 Apple Developer 帐户已配置了双重身份验证 (2FA)。
这就是 expobuild:ios
命令无法通过 Apple Portal 身份验证的原因吗?我在这个命令中缺少什么?
PS:我的笔记本电脑上的这些命令工作正常!
小智 -4
你需要使用expo build:ios --clear-credentials
它对我来说效果很好。
正如链接中指定的那样。
-c, --clear-credentials 清除存储在 Expo 服务器上的所有凭据。
https://forums.expo.io/t/solved-ios-standalone-build-failed/10007/3?u=alihussnain
归档时间: |
|
查看次数: |
4433 次 |
最近记录: |