ios - fastlane 以错误完成未经授权的访问
问题描述
在通过 fastlane 将我的应用程序发送到 testflight 时,我遇到了这个错误:
越权存取
**FastLanelane summary**
| 1 | opt_out_usage | 0 |
| 2 | default_platform | 0 |
| 3 | update_fastlane | 0 |
| 4 | clear_derived_data | 0 |
| 5 | cocoapods | 3 |
| 6 | gym | 87 |
| | pilot | 3 |
错误 [2019-03-01 15:51:34.03]:fastlane 完成错误
在fastlane/fastlane上寻找相关的GitHub问题... 搜索查询:请求无法完成,因为:未经授权的访问
这是我的 Fasfile:
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
update_fastlane
clear_derived_data
cocoapods(clean: true, use_bundle_exec: false)
# Build
gym(clean: true, suppress_xcode_output: true, workspace: "com.xxxx.xcworkspace", scheme: "com.xxxx")
# Submit to iTunes Connect (upload_to_testflight)
pilot(skip_submission: true, skip_waiting_for_build_processing: true)
upload_symbols_to_crashlytics # Upload dSYM symbolication files to Crashlytics
end
end
解决方案
常见案例
确保您的角色权限至少应为App Manager!
在我的情况下
我注意到我输入了错误的双因素身份验证(6 位代码)代码。
请记住,从2019 年 2 月 27 日开始, Apple 要求所有开发人员为其 Apple ID 启用双重身份验证,并且在该日期之后登录开发人员帐户需要双重身份验证。意味着它对于我们的快车道流程也是必要的。
推荐阅读
- flutter - Flutter Geofire 和 Firestore 读取问题
- python - 如何将提取的数据转换为python字典?
- sql - oracle如何选择不同的记录?
- freemarker - 如何将字符“S”转换为秒?
- android - 有没有办法从 Volley 中找出证书异常
- ruby - 使用 ruby 和 mkvextract 自动提取字幕
- django - Django多重继承避免,方法冲突
- swift - Xcode 11 项目,当尝试存档时,版本在存档结束之前被重置
- c# - 如何在 Sitecore 中以编程方式取消克隆和取消保护项目?
- python - Python全局变量在另一个模块中为None