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

オープン
#7,974 コメント 9 件 リアクション 2 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@markemer がすでに取り組んでいます。

2025年6月4日 から。

評価

この issue はまだ評価されていません。

説明

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)

主要言語
TypeScript
スター
17.1k
フォーク
1.3k
平均マージ
1日 22時間
マージ済み PR(30日)
26

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/capacitor のほかの issue

ionic-team/capacitor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。