webP image error on iOS26

With the new Xcode 26.0.1, my ionic8+cap7 app runs smoothly on previous iOS, but on iOS26 y show native errors in log for each webP image shown.the error is:

WebContent[26206] makeImagePlus:3798: *** ERROR: 'WEBP'-_reader->initImage[0] failed err=-50

Even so the picture is shown properly. If I change the images to jpg the error disappears. The images are remote images shown with .

Anyone with the same problema out there?

WebContent[30336] makeImagePlus:3798: *** ERROR: ‘WEBP’-_reader->initImage[0] failed err=-50
Having the same issue. Even crashes the webview randomly. App running capacitor 7

Have you found a solution? Or the cause?

Hi Kevin, really I don’t understand properly the issue, it looks like long ago there were issues with webP on apple ImageIO. So apple added a decoder for webP “before” calling imageIO on webView. And it seems they have inverted the order of calling now, so imageIO report and error before the proper decoder takes place.

So… we “don’t bother with the issue anymore”.

But app crashes!

That, at the end, looks as a different issue. For some reason ios26 (26.1) cashes when so many big images are loaded in the page. In my case it was a picture carrousel (swiper). It works smoothly on previous iOS. So we tweak the page to just have prev, current and next slide pictures, instead of 20 or 30. And now it do not crash.

Are you experiencing a similar issue?

Yes, it came down to too many images at once, which we displayed as thumbnails. Resulting in the web view crashing and restarting.

Open question remaining:

  1. How many images at once are too many?
  2. Is this threshold different across different devices?

But anyway this is "kind of “solved” now :slight_smile:

Is it the WebP format that is causing issues? Or is it that you decreased the number of simultaneous images being displayed that fixed the issue?

I am also seeing a WebView crash after upgrading to iOS 26.

0x1120f00c0 - [PID=6948] WebProcessProxy::didClose: (web process 0 crash)
0x1120f00c0 - [PID=6948] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process 6948 does not exist" UserInfo={NSLocalizedFailureReason=Specified target process 6948 does not exist}>
0x112160240 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=6948, error: (null)
0x117494018 - [pageProxyID=7, webPageID=8, PID=6948] WebPageProxy::processDidTerminate: (pid 6948), reason=Crash
0x117494018 - [pageProxyID=7, webPageID=8, PID=6948] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
⚡️  WebView process terminated
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x1273d6250 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
Failed to terminate process: Error Domain=com.apple.extensionKit.errorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x1273d4540 {Error Domain=RBSRequestErrorDomain Code=3 "No such process found" UserInfo={NSLocalizedFailureReason=No such process found}}}
0x1121241e0 - GPUProcessProxy::gpuProcessExited: reason=IdleExit
0x1120f0680 - [PID=0] WebProcessProxy::gpuProcessExited: reason=IdleExit
Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process 6949 does not exist" UserInfo={NSLocalizedFailureReason=Specified target process 6949 does not exist}>
0x1121603c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=6949, error: (null)

And the app tends to display several WebP image thumbnails at the same time.

I think that application crash is not related to webP but to the number or size of the images in the page.