3

我正在尝试运行 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 来开发我的应用程序。

谢谢

4

1 回答 1

3

解决了。问题是我连接到一个网络,该网络有一些防火墙,似乎itmstransporter在部署时阻止了一些相关的东西。

于 2021-03-03T03:47:33.257 回答