Crash when tapping Enable AI Server (TestFlight build 212)
还没有人认领这个 Issue。
评估
调研方向
首先阅读 YouRec/RemoteEditorServer.swift 第 107 行附近的内容,并追踪 Network 监听器如何配置和启动。在 iOS 26.3.1 上通过 Tools > AI Server > Enable AI Server 复现崩溃。当启用服务器不再崩溃且显示服务器地址时,工作即完成;如果有测试版可用,请在同一台 iPhone 上进行验证。
由索引模型根据 Issue 内容生成。
描述
On iOS 26.3.1 with YouRec 1.0.3 (212), I open a project and tap Tools > AI Server > Enable AI Server. The app closes before showing the server address.
The crash report shows EXC_BREAKPOINT (SIGTRAP) in Network on the main thread, with Int.max in x0 during a conversion to UInt32. This points to server.newConnectionLimit = .max in RemoteEditorServer.swift, line 107.
Removing that line should fix it. Apple documents that the listener already defaults to InfiniteConnectionLimit. I can retest on the same iPhone when a beta is available. Thanks!
- 主要语言
- Swift
- 星标
- 61
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
openwatersio/slackwater-ios#976 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
difficulty: beginner documentation help wanted networking
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
openwatersio/slackwater#591 ·
维护者通常 1 天内回复