Metadata Export
metadata_exportExport apple-metadata.md to fastlane per-locale .txt files after validation. Prepares metadata for deliver_metadata, not App Store Connect upload; refuses while ASO stage incomplete if app_dir is set.
Instructions
Export apple-metadata.md to fastlane/metadata//*.txt after validation.
Use when: preparing metadata for deliver_metadata. With app_dir set, refuses until the ASO stage is complete. Not for: uploading to App Store Connect (use deliver_metadata). Returns: {ok, written: [files], locales} or a gate refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | No | App directory; when given, export is refused until the ASO stage is complete. | |
| dest_dir | Yes | Output directory for the per-locale .txt files, e.g. <app>/fastlane/metadata. | |
| source_md | Yes | Path to apple-metadata.md to export. | |
| privacy_url | No | Public privacy policy URL written to the metadata files. | |
| support_url | No | Public support page URL. | |
| primary_category | No | Primary App Store category id, e.g. 'PHOTO_AND_VIDEO'. | |
| secondary_category | No | Secondary App Store category id, e.g. 'PRODUCTIVITY'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||