ios – 无法启动iPhone模拟器

前端之家收集整理的这篇文章主要介绍了ios – 无法启动iPhone模拟器前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有Unity 5.0.2p1 Personal和 Xcode Version 6.3.1(6D1002).

以下是希望重现问题的人的一些步骤:

>一个新的空白Unity项目
> IOS播放器设置> SDK版本:模拟器SDK
当在模拟器中启动应用程序时,> Build and Run会产生此效果

Warning: Error creating LLDB target at path ‘/Users/…(user
name)…/Library/Developer/Xcode/DerivedData/Unity-iPhone-couukthirzleocbdfmbmdpjhxrtr/Build/Products/Debug-iphonesimulator/ProductName.app’-
using an empty LLDB target which can cause slow memory reads from
remote devices.

dyld: Symbol not found: __ZN5Metal16g_CurrentEncoderE

Referenced from: /Users/…(user name)…/Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/07612A5C-659D-4C04-ACD3-D211D2830E17/ProductName.app/ProductName

Expected in: flat namespace

in /Users/…(user name)…/Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/07612A5C-659D-4C04-ACD3-D211D2830E17/ProductName.app/ProductName

然后,如果您在Xcode构建设置中选择标准体系结构并再次构建和运行,则会产生以下结果:

dyld: lazy symbol binding Failed: Symbol not found: _UnityRegisterProInterface

Referenced from: /Users/…(user name)…/Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/444E88D1-3B5D-46FA-A143-B8634F56398E/ProductName.app/ProductName

Expected in: flat namespace

dyld: Symbol not found: _UnityRegisterProInterface

Referenced from: /Users/…(user name)…/Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/444E88D1-3B5D-46FA-A143-B8634F56398E/ProductName.app/ProductName

Expected in: flat namespace

(lldb)

Unity iOS播放器设置中的各种设置会出现相同的结果:

>脚本后端:单声道(2.0)/ IL2CPP
>架构:ARMv7 / ARM64 / Universal
>目标iOS版本:6.0 / 8.1
>图形API:自动/开放GL ES 2.0 / Open GL ES 3.0 / Metal

使用Xcode Build Settings也可以获得相同的结果:

>基础SDK:iphonesimulator(未找到SDK)/标准架构(armv7,arm64) – $(ARCHS_STANDARD)
>支持的平台:iphonesimulator / iOS
> iOS部署目标:iOS 6.0 / iOS 8.1 / iOS 8.3

任何提示都非常感谢.

解决方法

这在补丁版本5.1.0p1: https://unity3d.com/unity/qa/patch-releases中得到解决

查看发行说明:(696798) – iOS:由于“未找到符号:__ ZN5Metal16g_CurrentEncoderE”,修复了启动时模拟器崩溃的问题.

原文链接:https://www.f2er.com/iOS/331604.html

猜你在找的iOS相关文章