cordova-ios: Cannot run new iOS app since latest upgrade

Bug Report

Problem

Hello,

Since I have upgraded my iPhone to iOS 17.4 and my Mac M1 to Sonoma 14.4 with Xcode 15.3, I not able any longer to run new version of my app on iOS. Nothing else has changed about my app except these elements. I using the latest Cordova with ios@7.0.1.

Deployment and build work fine, but when I try to run the app either on a simulator or a real device, the app is stopped and Xcode console returns the following messages:

Failed to request allowed query parameters from WebPrivacy.
Updated list with error: DownloadFailed.

I did not found details about these messages.

Could you help me?

Thanks

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

@gdorbes

I’m also encountering the same issue. Could you please explain how you resolved it in detail?

NodeJS 20, or any current LTS is sufficient.

A white screen generally means there was a JS error on launch. This often isn’t reported in Xcode, but it will be reported in Safari Web Inspector.

I have a guide that details how to use the web inspector. Safari Web Inspector doesn’t capture log events that occurred before it was attached, so once attached, use cmd + R with the inspector window focused, it will refresh/reload the webview. Any JS errors on launch occurring should be logged and it should give you more insight on the underlying issue.

The issue was that in my latest app version I requested device info during script loading, before deviceready event. For some timing reason it worked with my android device, but not with my iphone one. I fixed the issue just by moving my request after deviceready.

@TejasSatpute077 Okay, thank you a lot for your time.

@Jakub-Horacek in your package.json check required node version mentioned in “engines”: { “node”: “>=18.18.2 <19” },

and check which version of node you are using on terminal

node -v

and also check cordova version

cordova --version

and

cordova platform ls

Hi @Jakub-Horacek , I encountered the exact same issue before, but I managed to resolve it. Could you provide more details about the error you’re facing? That way, I can offer you some assistance

@gdorbes I have the same Issue, could you please provide more detail how have you resolved this issue? I would really appreciate it.

image