【发布时间】:2021-02-05 07:50:25
【问题描述】:
我正在尝试运行 fastlane 以在 App Store 中上传,但是我遇到了一些问题。
下面是我的 fastlane 环境:
### Stack
| Key | Value |
| --------------------------- | ------------------------------------------- |
| OS | 10.15.6 |
| Ruby | 2.7.2 |
| Bundler? | false |
| Git | git version 2.24.3 (Apple Git-128) |
| Installation Source | ~/.rvm/gems/ruby-2.7.2/bin/fastlane |
| Host | Mac OS X 10.15.6 (19G73) |
| Ruby Lib Dir | ~/.rvm/rubies/ruby-2.7.2/lib |
| OpenSSL Version | OpenSSL 1.1.1i 8 Dec 2020 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 12.3 |
### System Locale
| Error |
| --------------------------- |
| No Locale with UTF8 found ???? |
### fastlane files:
**No Fastfile found**
**No Appfile found**
### fastlane gems
| Gem | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.173.0 | ✅ Up-To-Date
这是我运行的命令
fastlane upload_to_testflight_beta
这里是命令输出:
WARN [2021-02-05 15:38:39.87]: [iTMSTransporter] java.lang.reflect.InvocationTargetException
WARN [2021-02-05 15:38:39.87]: [iTMSTransporter] ... 6 more
INFO [2021-02-05 15:38:39.87]: iTunes Transporter output above ^
ERROR [2021-02-05 15:38:39.87]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
WARN [2021-02-05 15:38:40.03]: Lane Context:
INFO [2021-02-05 15:38:40.03]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios upload_to_testflight_beta", :SIGH_PROFILE_TYPE=>"app-store", :MATCH_PROVISIONING_PROFILE_MAPPING=>{"com.xxx.XManagement.ios"=>"match AppStore com.xxx.XManagement.ios 1612510700"}}
ERROR [2021-02-05 15:38:40.03]: Error uploading ipa file, for more information see above
INFO [2021-02-05 15:38:40.03]: Successfully generated documentation at path '/Users/john.devera/code/MOBILE/crew-management-ios/fastlane/README.md'
+------+----------------------+-------------+
| fastlane summary |
+------+----------------------+-------------+
| Step | Action | Time (in s) |
+------+----------------------+-------------+
| 1 | update_fastlane | 2 |
| 2 | default_platform | 0 |
| 3 | match | 20 |
| ???? | upload_to_testflight | 14 |
+------+----------------------+-------------+
ERROR [2021-02-05 15:38:40.06]: fastlane finished with errors
Traceback (most recent call last):
29: from /Users/john.devera/.rvm/gems/ruby-2.7.2/bin/fastlane:23:in `<main>'
如果有人可以帮助我。
我是 iOS 开发新手,我正在使用 Swift 和 fastlane 开发我的应用程序。
谢谢
【问题讨论】:
-
您是否已切换到 api 密钥来连接 App Store connect?
-
@Paulw11 找出了问题所在。似乎某些防火墙或网络问题正在阻止 itmstransporter 继续进行。当我尝试在其他网络中部署时,它现在工作正常。
标签: ios xcode fastlane itmstransporter fastlane-pilot