Fastlane upload_to_testflight对iTMSTransporter的调用以非零退出状态完成:这表



我正在尝试在App Store中运行快速通道,但是我面临一些问题。

下面是我对快车道的羡慕:

### 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开发我的应用程序。

感谢

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

如果使用ENV值,就可以解决这个问题。

例子

Fastfile

ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'true'
...

shell

export ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD=true && bundle exec fastlane ios upload_test_flight

相关内容

  • 没有找到相关文章

最新更新