Swift 3 Project中的Unity实施:应用启动时崩溃-MetadataCache :: Initialize() [英] Unity implementation in Swift 3 Project: Crash on app launch - MetadataCache::Initialize()
问题描述
程序员您好,
我需要将导出的Unity项目实施到我的本机Swift项目,因此我遵循了本教程的说明:
I need to implement an exported Unity project to my native Swift project, so I followed the instructions of this tutorial:
https://github.com/blitzagency/ios-unity5
不幸的是,该应用在启动时崩溃.我拍摄了调试导航器的屏幕截图:
Unfortunately, the app crashes on app launch. I took a screenshot of my debug navigator:
我找到了这个线程并遵循了所有建议,但是我无法使其运行.我很高兴看到一个可行的示例:
I found this thread and followed every advice, but I cannot get it running. I would be very glad to see a working example:
推荐答案
我已修复它.该教程说要删除Unity/Classes/Native/中所有".h文件"的引用,但是我不小心删除了所有这些.
I fixed it. The tutorial says to remove the references of all ".h files" in Unity/Classes/Native/, but I accidently deleted all of them.
这篇关于Swift 3 Project中的Unity实施:应用启动时崩溃-MetadataCache :: Initialize()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!