fix(ios): validate resources/ and warn if assets/ shadows it

Point iOS asset checks at resources/ and document that a leftover assets/
directory makes @capacitor/assets ignore the canonical sources.
This commit is contained in:
Jose Olarte III
2026-07-17 17:48:40 +08:00
parent 6d221ee1ca
commit fb9da10fd2
3 changed files with 18 additions and 5 deletions

View File

@@ -56,7 +56,10 @@ npx capacitor-assets generate --web
## Configuration
Asset generation is configured in `capacitor-assets.config.json` at the project root.
`resources/` is this project's canonical asset source. `@capacitor/assets`
prioritizes a top-level `assets/` directory over `resources/`, so a legacy
`assets/` directory can prevent these assets from being discovered. Remove that
directory when it is empty or obsolete.
## Version Control