Getting an error "dyld[*****]: missing symbol called" when starting Unity from iOS Simulator.

未关闭
#75 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

The report identifies DynamicLibEngineAPI-functions.h and the UnityFramework integration tutorial as starting points. Reproduce the crash in the described iOS Simulator setup, then inspect how the example invokes the dynamic library API. Done means the Unity project opens from the iOS app without the reported missing symbol crash.

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

描述

Hello! I integrated UnityFramework into my iOS project using the tutorial in the docs. When I build a simulator, everything works fine until I hit a button that should open Unity project. After that, my builder crashes when performing the code from DynamicLibEngineAPI-functions.h . The debugger leaves the following message:

dyld[45814]: missing symbol called
dyld config: DYLD_SHARED_CACHE_DIR=/Users//Library/Developer/CoreSimulator/Caches/dyld/21G115/com.apple.CoreSimulator.SimRuntime.iOS-16-0.20A360 DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users//Library/Developer/Xcode/DerivedData/MRR-fgycyizhlmkuhvdorhztondrwjvb/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/***/Library/Developer/Xcode/DerivedData/MRR-fgycyizhlmkuhvdorhztondrwjvb/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib

CoreSimulator 857.7 - Device: iPhone SE (3rd generation) (C9F66271-363B-404D-B67F-1A2D38D402BD) - Runtime: iOS 16.0 (20A360) - DeviceType: iPhone SE (3rd generation)
Xcode version: 14.0.1 (14A400)

@juliusmik @juliusj-unity @vaidasma

主要语言
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 摘要。