Please someone tell me the correct dimensions the images for the iOS launch screen should be made

What is the exact dimensions that the image should be made for the iOS launch screens??

1 Like

It says doesn“t it?

1000x1000, 2000x2000 and 3000x3000 ?

that’s what I thought but I always get an error saying cuis screen wrong size

1 Like

@Daniel_Perley1
As for the screen size issue, have you worked that out yet? I’m facing the same problem and haven’t solved it yet and would like to know the solution.

Okay, can you share the error message? Is this an error on building the app or in the AppStore?

In the build service the 1000x1000 sized images always work.

My practice to get them is to open up my template sketch and place the logo into that to all the sizes. Then it can be exported as separate artboards to .png file format which I just upload then to the Build configuration and it works all the time. No issues with the images ever.

The software I use to open the .sketch file is ā€œLunacyā€, find it here:

And here is my template that you can use to get the correct image sizes:

icons-for-build-service.sketch (13.3 KB)

After you have placed your icon into each and every available size inside the sketch just ā€œselectā€ the artboards:

Then tap on the ā€œExportā€ option in the right tab:


Set the settings as it is on the image and just click export. You’ll get all the images and I even named them correctly. So just make sure to upload the correct ones to the build.

3 Likes

@Mihaly_Toth
Thanks for the detailed information.
I always use Adobe Illustrator to create my images. 16 icon sizes are available. (20, 29, 40, 58, 60, 76, 80, 87, 120, 152, 167, 180, 1000, 1024, 2000, 3000)
I tried both png8 and png24 for output, but both failed to build.

It is a bit long, but I will paste the error message below. (the last line is where it is)
↓

FAILED with ERROR:

│ [ error ] [export] COMMAND:
xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-587181 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/release/RNVApp.xcarchive
FAILED with ERROR:
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactNativeExceptionHandler
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios
builtin-create-build-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactNativeExceptionHandler
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactCommon
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios
builtin-create-build-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactCommon
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/React-runtimeexecutor
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module QBImagePickerController --output-partial-info-plist /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/QBImagePickerController-QBImagePicker.build/QBImagePicker-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --output-format human-readable-text --compilation-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/587181-ios-256215/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/Intermed…
2022-11-12 21:34:00.605 IBAgent-iOS[9457:41306823] Incorrect screen size for <UIScreen: 0x7ff4d18095b0; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData
2022-11-12 21:34:01.427 IBAgent-iOS[9521:41306972] Incorrect screen size for <UIScreen: 0x7f9fea004b20; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData

No I randomly got a build to succeed. But all builds since have failed. It’s just an unreliable build systemz is all I can decipher.

1 Like

I have no idea about this build error…

1 Like

It was just a bug the new builds are coming through fine. I think some meta data is not being cleared when pages are removed. I say this because I only have 6 screens in app including global, but used to have ten. Since I removed the four screes, they still come through in web builds. So they must be coming through in native builds as activities for which their is no xml file.

Thank you for this. I have been so busy I have not had time to thank you.