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
+5
View File
@@ -1604,6 +1604,11 @@ Use the commands above to check and fix code quality issues.
4. **Native Build**: Platform-specific compilation
5. **Package Creation**: APK/IPA generation
`resources/` is the canonical source for app icons and splash screens.
Do not keep a legacy top-level `assets/` directory unless it is intentionally
used: `@capacitor/assets` prioritizes `assets/` over `resources/`, which can
prevent the canonical assets from being discovered.
## Architecture Environment Configuration
### Environment Files