You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "gdorbes (via GitHub)" <gi...@apache.org> on 2024/03/12 10:32:17 UTC

[I] Cannot run new iOS app since latest upgrade [cordova-ios]

gdorbes opened a new issue, #1407:
URL: https://github.com/apache/cordova-ios/issues/1407

   # 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.
   
   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
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079220381

   @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
   
   
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "akships (via GitHub)" <gi...@apache.org>.
akships commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2554161854

   Had the same issue made it work again by doing following.
   
   `rm -rf node_modules && rm -rf ./dist/* && npm install && npm build`
   
   Then sync ionic project and sync.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079286773

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


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2085561993

   @TejasSatpute077 So I managed to successfully connect to the Safari inspector for the JSContent as @breautek mentioned in the message above.
   
   And I have these errors and warnings in the inspector:
   ![Screenshot 2024-04-30 at 16 51 05](https://github.com/apache/cordova-ios/assets/85481201/b5546413-97fe-4f5c-a1db-1eb64995a9e2)
   
   The App is still not working but now I have some more informations, thank you.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079206681

   @TejasSatpute077 It is just a blank screen with app logo.
   ![image](https://github.com/apache/cordova-ios/assets/85481201/63bc791e-3239-484b-baa5-04734b54df81)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079210281

   @Jakub-Horacek in your config.xml file set AutoHideSplashScreen as true and clean and build project again


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079196448

   @TejasSatpute077 Yes, I can try to provide as many details as you need, however I am really newbie iOS developer, so I am not sure what details I need to provide you.
   
   When I launch my app in the simulator, it is stuck on the Launch Screen and the rest of the application is not displayed. There are no errors in the XCode Log. Only the warning mentioned in my previous message.
   
   My app is using Ionic, Cordova, Capacitor and React.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2076579745

   @gdorbes I have the same Issue, could you please provide more detail how have you resolved this issue? I would really appreciate it.
   
   ![image](https://github.com/apache/cordova-ios/assets/85481201/f56104fd-7f1d-47fe-a3a4-36875c2a0526)
   
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2078022298

   Hi @gdorbes, 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
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079247885

   @TejasSatpute077 
   
   There is no
   ```json
   "engines": {
           "node": ">=18.18.2 <19"
         }
   ```
   in my package.json, however it is MANY times (thousands) in the package.lock.json and each time with different `node` value.
   I am currently sing the `v20.11.0` node version in my terminal.
   
   I found in my package.json only this information about the cordova: `"cordova-plugin-ionic": "5.5.3",`
   and I am using the `12.0.0 (cordova-lib@12.0.1)` in my terminal.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "gdorbes (via GitHub)" <gi...@apache.org>.
gdorbes closed issue #1407: Cannot run new iOS app since latest upgrade
URL: https://github.com/apache/cordova-ios/issues/1407


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "gdorbes (via GitHub)" <gi...@apache.org>.
gdorbes commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2015610705

   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`.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2031101559

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


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "SevenSystems (via GitHub)" <gi...@apache.org>.
SevenSystems commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-1992603258

   I'm getting this in a WKWebView-based app (not Cordova, but in-house framework) on Catalyst. The app seems to work fine, but it does look worrying.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079203404

   @Jakub-Horacek if possible, provide me a screenshot of the page


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "Jakub-Horacek (via GitHub)" <gi...@apache.org>.
Jakub-Horacek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079213624

   @TejasSatpute077 When I set the AutoHideSplashScreen to true, the result is same, but without the logo. 😕
   ![image](https://github.com/apache/cordova-ios/assets/85481201/1a70cee1-6546-4126-964b-cfc548d0e6da)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "arlo1990 (via GitHub)" <gi...@apache.org>.
arlo1990 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2015564888

   @gdorbes what was the issue and how did you resolve?


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079291008

   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](https://breautek.com/articles/debugging-cordova-apps.html). 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.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "TejasSatpute077 (via GitHub)" <gi...@apache.org>.
TejasSatpute077 commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2079284787

   @Jakub-Horacek 
   
   I encountered the same problem you're facing and resolved it by starting fresh with a new setup. Before that, I tried various solutions for the white screen issue and warnings you're experiencing, but none worked. You might want to try a fresh setup, ensuring compatibility with your current Node.js version.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot run new iOS app since latest upgrade [cordova-ios]

Posted by "gdorbes (via GitHub)" <gi...@apache.org>.
gdorbes commented on issue #1407:
URL: https://github.com/apache/cordova-ios/issues/1407#issuecomment-2011989057

   My bad: the issue was elsewhere


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org