Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on creating a new Quasar project for IOS with capacitor #17773

Closed
zanzara opened this issue Jan 19, 2025 · 1 comment
Closed

Error on creating a new Quasar project for IOS with capacitor #17773

zanzara opened this issue Jan 19, 2025 · 1 comment
Labels
bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 mode/capacitor Qv2 🔝 Quasar v2 issues

Comments

@zanzara
Copy link
Contributor

zanzara commented Jan 19, 2025

What happened?

While simply creating a new, blank Quasar project with latest app-vite (2.0.8) i got the following error from XCode
when starting the app:

Failed to resolve host network app id to config: bundleID: com.apple.WebKit.Networking instance ID: Optional([_EXExtensionInstanceIdentifier: 57AA6692-74EC-4D48-96FA-FBEF1D0A4DB7])
⚡️  Loading app at http://192.168.0.164:9500...
0x10602d818 - [pageProxyID=10, webPageID=11, PID=52762] WebPageProxy::didFailProvisionalLoadForFrame: frameID=14, isMainFrame=1, domain=NSURLErrorDomain, code=-1005, isMainFrame=1, willInternallyHandleFailure=0
⚡️  WebView failed provisional navigation
Error: the network connection was interrupted.

There appears no error from quasar cli. It starts XCode in the end w/o any complains.

Versions (beside quasar info):
macOS: 15.2 (M4)
XCode: 16.2
pod: 1.16.2

What did you expect to happen?

That the Quasar skeleton app would start in iphone simulator through XCode w/o errors

Reproduction URL

https://stackblitz.com/edit/quasarframework-stackblitz-templates-pi9byyij?file=src%2Fpages%2FIndexPage.vue&title=Quasar%20Framework%20-%20app-vite%20v2

How to reproduce?

  • yarn create quasar

  • quasar dev -m capacitor -T ios

  • Start app in Xcode

Rem.: The Reproduction URL is only placeholder because this error cannot be shown in a Reproduction URL of stackblitz or similar.

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Capacitor Mode

Platforms/Browsers

iOS

Quasar info output

Operating System - Darwin(24.2.0) - darwin/arm64
NodeJs - 20.18.1

Global packages
  NPM - 10.8.2
  yarn - 1.22.22
  pnpm - Not installed
  bun - Not installed
  @quasar/cli - 2.4.1
  @quasar/icongenie - 4.0.0
  cordova - Not installed

Important local packages
  quasar - 2.17.7 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 2.0.8 -- Quasar Framework App CLI with Vite
  @quasar/extras - 1.16.15 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.5.13 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.5.0
  pinia - 2.3.0 -- Intuitive, type safe and flexible Store for Vue
  vite - 6.0.7 -- Native-ESM powered web dev build tool
  vite-plugin-checker - Not installed
  eslint - Not installed
  esbuild - 0.24.2 -- An extremely fast JavaScript and CSS bundler and minifier.
  typescript - Not installed
  workbox-build - Not installed
  register-service-worker - Not installed
  electron - Not installed
  @electron/packager - Not installed
  electron-builder - Not installed
  @capacitor/core - 6.2.0 -- Capacitor: Cross-platform apps with JavaScript and the web
  @capacitor/cli - 6.2.0 -- Capacitor: Cross-platform apps with JavaScript and the web
  @capacitor/android - Not installed
  @capacitor/ios - 6.2.0 -- Capacitor: Cross-platform apps with JavaScript and the web

Quasar App Extensions
  *None installed*

Relevant log output

Failed to resolve host network app id to config: bundleID: com.apple.WebKit.Networking instance ID: Optional([_EXExtensionInstanceIdentifier: 57AA6692-74EC-4D48-96FA-FBEF1D0A4DB7])
⚡️  Loading app at http://192.168.0.164:9500...
0x10602d818 - [pageProxyID=10, webPageID=11, PID=52762] WebPageProxy::didFailProvisionalLoadForFrame: frameID=14, isMainFrame=1, domain=NSURLErrorDomain, code=-1005, isMainFrame=1, willInternallyHandleFailure=0
⚡️  WebView failed provisional navigation
Error: the network connection was interrupted.

Additional context

the iphone app remains in full blank, white screen status

@zanzara zanzara added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jan 19, 2025
@github-actions github-actions bot added bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite mode/capacitor labels Jan 19, 2025
@zanzara zanzara changed the title Error on creating a new Quasar project for IOS witch capacitor Error on creating a new Quasar project for IOS with capacitor Jan 19, 2025
@rstoenescu
Copy link
Member

This is at best a bug with Capacitor, not Quasar.
While the Quasar CLI is running, open a browser in the emulator and type the same URL indicated to see if it works or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 mode/capacitor Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants