Fastlane的“ ./metadata”中的屏幕截图/元数据不支持的目录名称:ar-SA

时间:2019-07-18 08:01:12

标签: ios ruby fastlane

我正在尝试使用Fastlane将图像上传到我的应用程序的App Store中。但是,我收到此错误:

[!] Unsupported directory name(s) for screenshots/metadata in 

'./metadata': ar-SA
Valid directory names are: ["ca", "cs", "da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "he", "hi", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl-NL", "no", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant", "appleTV", "iMessage", "default"]

Enable 'ignore_language_directory_validation' to prevent this validation from happening

我似乎无法弄清楚应该如何运行此ignore_language_directory_validation参数。 Fastlane文档没有提供有关如何执行此操作的明确示例。

我的问题是:我需要运行什么命令来忽略语言验证。

我当前正在运行的命令:

fastlane run deliver APP_ID="com.myapp"; APP_VERSION="1.3.0"; bundle exec fastlane deliver upload_screenshots --app_identifier "$APP_ID" --app_version "$APP_VERSION" --screenshots_path ~/screenshots --skip_metadata

1 个答案:

答案 0 :(得分:1)

通过添加特定参数来编写如下所示的命令 ignore_language_directory_validation

命令:-

bundle exec fastlane deliver upload_screenshots --ignore_language_directory_validation true --app_identifier "$APP_ID" --app_version "$APP_VERSION" --screenshots_path ~/screenshots --skip_metadata true