[Bug]: Xcode 16.3 simulator bug causes network access to fail?

Aperta
#7,974 9 commenti 2 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@markemer ci sta già lavorando.

Dal 4/6/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

known apple bug workaround
Capacitor Version

When testing on iOS 18.3.2 or beyond on iPad Air (5th generation) for example, we run into Network Connection issues which may be bypassed with a code alternative as mentioned by Paul Hudson

The change is URLSession.shared to URLSession(configuration: .ephemeral)

Other API Details
10.8.1 npm
v22.3.0 node
Platforms Affected
  • iOS
  • Android
  • Web
Current Behavior

For example, connections to Firestore within a Ionic + Capacitor application halts / fails to connect when testing atleast iOS 18.3.2 on select devices; discovered with iPad Air 5th gen.

"Cloud Firestore could not connect to backend"

Expected Behavior

Naturally, connections should continue to occur yet being the nature of PWA's we as developers don't have direct access to the WebView.

Project Reproduction

https://github.com/khaelou/bare

Additional Information

Issue #8889 and Issue #14712 follow this issue directly, there is also an [ongoing thread](Network Connection Issue on Xcode 16.3 Simulator) on Apple Developer Forums (Apple Developer account required)

Lingua principale
TypeScript
Stelle
17.1k
Fork
1.3k
Merge medio
1g 22h
PR unite (30g)
26

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ionic-team/capacitor

Tutte le issue di ionic-team/capacitor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.