Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: iOS icons/splash are created twice and overwritten by a bigger one #588

Open
mburger81 opened this issue Dec 29, 2023 · 0 comments
Open

Comments

@mburger81
Copy link

Hello we create assets with your generator using version 3.0.4

If you look at the command output you can see that the icons and the spalshscreens are generated twice, everything is fine for the icon. For the light and the dark splashscreen first round are about 41,56KB and 41,94KB big. But they are generated a second time with a bigger image, in this case its 7,61MB and 7,61MB. So its like the original one.

This looks honestly strange to me. Why they are first generated and then overwritten with a bigger one? I think this could be a bug?

npx @capacitor/assets generate --ios
[log] xml(load) at /x/android/app/src/main/AndroidManifest.xml
[log] xml(load) Found root namespaces in XML file: http://schemas.android.com/apk/res/android http://schemas.android.com/tools
Generating assets for ios
CREATE ios icon /x/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png (14.51 KB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany.png (41.56 KB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany.png (41.56 KB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany.png (41.56 KB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany-dark.png (41.91 KB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany-dark.png (41.91 KB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany-dark.png (41.91 KB)
CREATE ios icon /x/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png (14.51 KB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany.png (7.61 MB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany.png (7.61 MB)
CREATE ios splash /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany.png (7.61 MB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany-dark.png (7.61 MB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany-dark.png (7.61 MB)
CREATE ios splash-dark /x/ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany-dark.png (7.61 MB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant