当我在终端运行fastlane pilot命令时,我遇到了这个问题,如何使用 "beta_app_review_info "作为参数?我应该如何使用这个 "beta_app_review_info "作为参数? 需要添加什么值?
下面是我试着运行的命令,但是得到的是 "beta_app_review_info' value must be a Hash! Found String instead."
fastlane pilot upload --username="[email protected]" --verbose --changelog "$(cat changelog1.txt)" --distribute_external true --groups="Users" --ipa="buildRelease-iphoneossome.ipa" --beta_app_review_info "contact_email: "[email protected]",contact_first_name: "test",contact_last_name: "user",contact_phone: "XXXXX",demo_account_name: "[email protected]",demo_account_password: "XXXX"
看起来beta_app_review_info没有作为参数包含在Fastlane pilot中。谁能帮我解决这个问题?
有同样的问题。可能是AppStore开始需要额外的元数据。 添加beta_app_review_info确实解决了这个问题。 示例。
upload_to_testflight(
beta_app_review_info: {
contact_email: "[email protected]",
contact_first_name: "Connect",
contact_last_name: "API",
contact_phone: "5558675309",
demo_account_name: "[email protected]",
demo_account_password: "connectapi",
notes: "this is review note for the reviewer <3 thank you for reviewing"
},
localized_app_info: {
"default": {
feedback_email: "[email protected]",
marketing_url: "https://example.com/marketing-defafult",
privacy_policy_url: "https://example.com/privacy-defafult",
description: "Default description",
},
"en-GB": {
feedback_email: "[email protected]",
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",
}
}
)