iOS Build Environment Help Center

Missing Iphone 2x icons preventing build from finishing.

append delete Mike

Hi,

I have a bit of a weird error when building to the app store (distribution certificate).
I've just build two other more complex projects using the asset, but now on a simpler project I get the following error when building:

----------------------------------------------------------------------

+ Creating Info.plist...
Notice: missing iphone 2x (90x90) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Not a JPEG file: starts with 0x89 0x50
Press any key to continue . . .

----------------------------------------------------------------------

I've tried adding some icons to the project settings in Unity, changing the format of the main app image between jpg and png.

Does anyone have any idea what this issue is about? The icons in the project settings have no slots for a 90x90.

Thanks

• Windows: 11
• Builder version: 3.51.2
• iOS SDK version: 16.0

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

In such a case the builder downscales the highest resolution icon file (assumed to be the largest file in the set) to produce a suitable icon.

What's the format of the largest icon file in your icon set ?

append delete #2. Mike

Hi,

It was set to 1024 x1024, and while troubleshooting I attempted it with a 512x512 version.

append delete #3. Pierre-Marie Baty

I meant the *file* format, not the image resolution. What was it ?

:: @Pierre-Marie Baty added on 22 Sep ’22 · 16:30

*edit* FWIW 0x89 0x50 are usually the first two bytes that start a PNG file. Not JPEG. Are you sure that your image file has the right extension ?

append delete #4. Mike

Ah sorry. I've tested it both with png files and jpg file formats.
The weird part about it is that the other apps I have built have both used png images and didn't present this error.

append delete #5. Mike

I've also now tried
- Renaming the file to jpg/png
- Bringing the file into ms paint and saving as a jpg file, then png file again when that didn't work
- Bringing the file into GIMP and exporting as a jpg file
- Making a new image, and saving it as a jpg file (ms paint)
- Checking Rebuild all & Compiler cache: clean in the project builder.

This is a bit of a weird one at this point, as I mentioned above, the other projects I have build used png images without issue.

append delete #6. Mike

I created a new blank png image and this may have fixed the issue.
I say "may have" as I also went and deleted every unused image I can find.

append delete #7. Pierre-Marie Baty

Okay. That was definitely an image file format issue anyway.

The next version of the image converter will do an automatic detection of the image format based on the file's binary contents (previously it was just inferring the image format from the file's extension). This should avoid future errors like that.

Happy building

append delete #8. Mike

Awesome, thanks!

append delete #9. Pierre-Marie Baty

You're welcome :)

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty