davidtoledo commented on issue #990: URL: https://github.com/apache/cordova-ios/issues/990#issuecomment-707320636
> @davidtoledo Cordova resources doesn't generate following files automatically: > > ``` > <splash src="resources/ios/splash/Default@2x~universal~anyany.png" /> > <splash src="resources/ios/splash/Default@2x~universal~comany.png" /> > <splash src="resources/ios/splash/Default@2x~universal~comcom.png" /> > <splash src="resources/ios/splash/Default@3x~universal~anyany.png" /> > <splash src="resources/ios/splash/Default@3x~universal~anycom.png" /> > <splash src="resources/ios/splash/Default@3x~universal~comany.png" /> > <splash src="resources/ios/splash/Default@2x~iphone~anyany.png" /> > <splash src="resources/ios/splash/Default@2x~iphone~comany.png" /> > <splash src="resources/ios/splash/Default@2x~iphone~comcom.png" /> > <splash src="resources/ios/splash/Default@3x~iphone~anyany.png" /> > <splash src="resources/ios/splash/Default@3x~iphone~anycom.png" /> > <splash src="resources/ios/splash/Default@3x~iphone~comany.png" /> > <splash src="resources/ios/splash/Default@2x~ipad~anyany.png" /> > <splash src="resources/ios/splash/Default@2x~ipad~comany.png" /> > ``` > > What the best way to create this resources before build and avoid errors ? @roman-rr Yes. It doesn't. You have to generate your splash screen files according to the instructions stated at: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen Here are the list of files and image aspects you have to generate: 2x* | universal | any | any | 2732x2732 | Default@2x~universal~anyany.png 2x | universal | com | any | 1278x2732 | Default@2x~universal~comany.png 2x | universal | com | com | 1334x750 | Default@2x~universal~comcom.png 3x* | universal | any | any | 2208x2208 | Default@3x~universal~anyany.png 3x | universal | any | com | 2208x1242 | Default@3x~universal~anycom.png 3x | universal | com | any | 1242x2208 | Default@3x~universal~comany.png You can generate these images manually using any image editor you like, Make sure all the important content (texts, logos, relevant figures) are inside the safe area into these images and generate the files according to the file names and image aspects listed above. ...and please let us know if the problem is solved after you make these changes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
