Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Mis

Posted

技术标签:

【中文标题】Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing required data【英文标题】:Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Missing requied 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 。 【参考方案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/

【讨论】:

以上是关于Spaceship::UnexpectedResponse: [!] Missing required information to submit for external testing - Mis的主要内容,如果未能解决你的问题,请参考以下文章