如何让 Fastlane Deliver 为 tvOS 工作?

Jus*_*ely 1 continuous-integration fastlane tvos fastlane-deliver app-store-connect

上传到 iTunesConnect 失败并出现以下错误:

“无效的配置文件。此配置文件与 iOS 应用程序不兼容。”

+-----------------------+---------------------------------------+
|                    deliver 2.26.1 Summary                     |
+-----------------------+---------------------------------------+
| username              | iosdev@inspirato.com                  |
| ipa                   | /Users/vagrant/deploy/InspiratoTV.ipa |
| skip_screenshots      | true                                  |
| skip_metadata         | true                                  |
| force                 | true                                  |
| app_identifier        | com.inspirato.travel.InspiratoTV      |
| screenshots_path      | ./screenshots                         |
| metadata_path         | ./metadata                            |
| app_version           | 1.0                                   |
| edit_live             | false                                 |
| platform              | ios                                   |
| skip_binary_upload    | false                                 |
| submit_for_review     | false                                 |
| automatic_release     | false                                 |
| overwrite_screenshots | false                                 |
+-----------------------+---------------------------------------+
Run Code Online (Sandbox Code Playgroud)

即使我没有与此捆绑 ID 相关的 iOS 应用程序,该平台似乎仍停留在“ios”上。我试过在$ fastlane deliver ...命令的末尾添加“--platform tvOS”,但没有成功。

Jus*_*ely 6

Deliver 为 tvOS 平台使用符号“appletvos”。


将其添加到$ fastlane deliver命令的末尾:

$ fastlane deliver ... ... "--platform" "appletvos"
Run Code Online (Sandbox Code Playgroud)

或将其添加到您的 .Deliver 文件中,如下所示:

deliver(platform: "appletvos")
Run Code Online (Sandbox Code Playgroud)