iPhone One的VR One演示构建错误

时间:2015-01-08 16:30:24

标签: iphone xcode unity3d vrone

我在为iPhone创建构建时遇到了麻烦。我可以在Unity中使用Xcode进行构建,但在Xcode for iPhone中构建会给我以下五个错误。

Undefined symbols for architecture armv7:
  "_SCNMatrix4MakeRotation", referenced from:
      __GetQuaternionUpdate in libVROneHeadTracking.a(RotateAround.o)
  "_OBJC_CLASS_$_SCNNode", referenced from:
      objc-class-ref in libVROneHeadTracking.a(RotateAround.o)
  "_SCNMatrix4Invert", referenced from:
      __GetQuaternionUpdate in libVROneHeadTracking.a(RotateAround.o)
  "_SCNMatrix4Mult", referenced from:
      __GetQuaternionUpdate in libVROneHeadTracking.a(RotateAround.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这与libVROneHeadTracking.a有关,所以我无法打开它。我做错了还是这个文件中有错误?

1 个答案:

答案 0 :(得分:3)

我想出了解决方法!大声笑,对我来说,我只是超级懒惰,忘了添加SceneKit。

Unity-iPhone - >构建阶段 - >链接二进制文件库

点击' +'签名并添加SceneKit框架。

清理,构建它应该可以工作。