iOS 集成 Unity生成的framework 会导致无法直接调试

未关闭
#118 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
ios, swift, unity
领域
mobile

调研方向

The report describes an Xcode 16 project integrating a Unity-generated iOS framework into a Swift project and gives a libdispatch recursive-lock failure during debugging. Start by checking the repository’s iOS Unity integration examples and their Xcode project settings; the issue names no files or tests. Done means identifying why debugging triggers the failure and documenting or confirming a fix that allows the integrated app to run under Xcode.

由索引模型根据 Issue 内容生成。

描述

使用xcode 16 版本的创建的项目,把unity生成的iOS工程编译成Framework后,集成到swift项目中,会无法直接调试运行,运行xcode后就报错,报错信息如下
libdispatch.dylib`_dispatch_once_wait.cold.1:
0x10301289c <+0>: leaq 0x63c4(%rip), %rcx ; "BUG IN CLIENT OF LIBDISPATCH: trying to lock recursively"
0x1030128a3 <+7>: movq %rcx, 0x22946(%rip) ; gCRAnnotations + 8
-> 0x1030128aa <+14>: ud2
但是不使用xcode,直接运行APP,是可以运行的,是什么原因,有没有遇到相似问题的大佬,麻烦指导一下

主要语言
Objective-C++
星标
815
派生
252
平均合并
21 小时 42 分钟
30 天内合并 PR
1

环境准备

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

从这里开始

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

Unity-Technologies/uaal-example 的其他 Issue

查看 Unity-Technologies/uaal-example 的全部 Issue

相似的 Issue

更多 Mobile Dev Issue

把新 issue 发到你的邮箱

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