【问题标题】:Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing requied dataSpaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing required data
【发布时间】:2020-04-15 05:39:25
【问题描述】:

我在终端运行 fastlane Pilot 命令时遇到了这个问题。我应该如何使用这个“beta_app_review_info”作为参数?需要增加什么价值?

这是我尝试运行但失败的命令,“beta_app_review_info”值必须是哈希值!改为找到字符串。”

fastlane 试点上传 --username="XXX@gmail.com" --verbose --changelog "$(cat changelog1.txt)" --distribute_external true --groups="Users" --ipa="build/发布-iphoneos/some.ipa" --beta_app_review_info "contact_email: "XXXXX@gmail.com",contact_first_name: "test",contact_last_name: "user",contact_phone: "XXXXXX",demo_account_name: "testuser@gmail.com", demo_account_password: "XXXX"

看起来 beta_app_review_info 不包含在 Fastlane 试点中作为参数。有人可以帮我解决这个问题吗?

【问题讨论】:

  • 我通过在 fastlane 目录中的 Fastfile 中添加 beta_app_review_info 详细信息使其工作,然后我运行命令 fastlane beta 。

标签: testflight xcode11 fastlane


【解决方案1】:

有同样的问题。可能,AppStore 开始需要额外的元数据。
添加 beta_app_review_info 确实解决了这个问题。
示例:

upload_to_testflight(
  beta_app_review_info: {
    contact_email: "email@email.com",
    contact_first_name: "Connect",
    contact_last_name: "API",
    contact_phone: "5558675309",
    demo_account_name: "demo@email.com",
    demo_account_password: "connectapi",
    notes: "this is review note for the reviewer <3 thank you for reviewing"
  },
  localized_app_info: {
    "default": {
      feedback_email: "default@email.com",
      marketing_url: "https://example.com/marketing-defafult",
      privacy_policy_url: "https://example.com/privacy-defafult",
      description: "Default description",
    },
    "en-GB": {
      feedback_email: "en-gb@email.com",
      marketing_url: "https://example.com/marketing-en-gb",
      privacy_policy_url: "https://example.com/privacy-en-gb",
      description: "en-gb description",
    }
  },
  localized_build_info: {
    "default": {
      whats_new: "Default changelog",
    },
    "en-GB": {
      whats_new: "en-gb changelog",
    }
  }
)


参考:https://docs.fastlane.tools/actions/upload_to_testflight/

【讨论】:

    猜你喜欢
    • 2023-01-30
    • 1970-01-01
    • 2021-05-02
    • 2021-06-24
    • 2023-01-18
    • 2021-06-15
    • 2018-05-19
    • 2022-01-06
    • 2016-05-09
    相关资源
    最近更新 更多