【问题标题】:Unable to deploy Unity3d project on iPhone device because of linking errors由于链接错误,无法在 iPhone 设备上部署 Unity3d 项目
【发布时间】:2012-01-24 11:39:27
【问题描述】:

我使用 unity3d 工具创建了一个 xcode 项目,在为 iOS 构建项目时,我的播放器设置如下:

1. Target Device: iPhone Only
2. Target Platform: Universal armv6+armv7 (OpenGL ES1.1+2.0) & I have tried it with armv6(OpenGL ES1.1)
3. SDK Version: iOS 4.3 & I have tried it with iOS Latest
4. Target iOS Version: 4.0
Api Compatibility Level: .Net 2.0 Subset, when I am trying to run it in iPhone I am getting the below mentioned error:

“__GetLookupStatus”,引用自:

Undefined symbols for architecture armv6: "__GetLookupStatus", referenced from: __Z19RegisterMonoModulesv in RegisterMonoModules.o

ld:未找到架构 armv6 clang 的符号:错误:链接器 命令失败,退出代码为 1(使用 -v 查看调用)

&我的 Unity 3 版本是 3.4.2f3&我的 Xcode 版本是 4.2.1。

我该如何解决这个问题?

【问题讨论】:

  • 你试过只用armv7作为目标平台吗?也许这是您的选择。

标签: xcode xcode4.2 unity3d


【解决方案1】:

它现在正在工作。我忘记将我的 Objevtive-c 文件添加到 Xcode 项目中。

【讨论】:

    猜你喜欢
    • 2022-08-18
    • 2015-04-29
    • 2013-10-06
    • 1970-01-01
    • 1970-01-01
    • 2019-04-29
    • 1970-01-01
    • 2021-08-18
    • 1970-01-01
    相关资源
    最近更新 更多