Gitignored AppIcon.appiconset and Splash.imageset are absent after clone, which made `capacitor-assets generate --ios` fail (missing paths and Contents.json). Add ensure_ios_capacitor_asset_directories in common.sh to mkdir and seed minimal Contents.json when needed; call it from build-ios.sh before asset generation and from the build:native npm script. Document the behavior in ios/.gitignore.
24 lines
642 B
Plaintext
24 lines
642 B
Plaintext
App/build
|
|
App/Pods
|
|
App/output
|
|
# Capacitor sync output - contains web assets copied from dist/
|
|
App/App/public
|
|
DerivedData
|
|
xcuserdata
|
|
|
|
# Cordova plugins for Capacitor
|
|
capacitor-cordova-ios-plugins
|
|
|
|
# Generated Config files
|
|
App/App/capacitor.config.json
|
|
App/App/config.xml
|
|
|
|
# User-specific Xcode files
|
|
App/App.xcodeproj/xcuserdata/*.xcuserdatad/
|
|
App/App.xcodeproj/*.xcuserstate
|
|
|
|
# Generated by capacitor-assets at build time (not in repo). Fresh clones lack these
|
|
# folders; scripts/common.sh ensure_ios_capacitor_asset_directories creates them before generate.
|
|
App/App/Assets.xcassets/AppIcon.appiconset
|
|
App/App/Assets.xcassets/Splash.imageset
|