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

未关闭
#7,974 9 条评论 2 个 reaction 已指派 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 小时
30 天内合并 PR
26

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ionic-team/capacitor 的其他 Issue

查看 ionic-team/capacitor 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。