Unity vuforia xcode(iOS:armv7,arm64) [英] Unity vuforia xcode (iOS: armv7, arm64)

查看:418
本文介绍了Unity vuforia xcode(iOS:armv7,arm64)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您最近使用这些软件为iOS(armv7,arm64)构建了一个应用程序,请注意共享:您使用的unity,vuforia,xcode版本是什么.

If you have built an app for iOS(armv7, arm64) recently using these softwares, care to share: what versions of unity, vuforia, xcode you used.

推荐答案

注意:该答案基于问题注释中的信息.

Note: This answer is based on the information from the questions comments.

自2015年2月1日起,Apple强迫iOS开发人员在向App Store提交新应用时提供64位二进制文​​件.

Since Feb 1, 2015 Apple forces iOS developers to supply a 64-bit binary when submitting new apps to the App Store.

来源: https://developer.apple.com/news/?id=01192015a

对于应用程序更新,这与2015年6月1日相关.

For app updates this got relevant on June 1, 2015.

来源: https://developer.apple.com/news/?id=04082015a

因此,您是对的,您需要64位二进制文​​件来提交应用程序的更新.

So, you're right, you'll need a 64-bit binary to submit an update of your app.

在版本4.6.2中添加了iOS 64位支持

iOS 64-bit support was added in version 4.6.2

来源: http ://blogs.unity3d.com/2015/01/29/unity-4-6-2-ios-64-bit-support/

Unity对新的编译器IL2CPP进行了编码,该编译器可以使用64位,这是使用Unity创建64位构建的唯一方法. 由于这个新的编译器是相当新的(并且仍然有很多错误),所以我建议您坚持使用最新版本的Unity 4.6.x(如果需要,也可以使用5.x).较新的版本包含许多错误修复,尤其是对于IL2CPP.

Unity coded a new compiler IL2CPP that is capable of 64-bit, and that's the only way to create 64-bit builds with Unity. As this new compiler is quite new (and still has a lot of bugs), I'd recommend to stick to the latest version of Unity 4.6.x (or 5.x, if you want to). The newer version include a lot of bug fixes, especially for IL2CPP.

我们将Vuforia SDK 4.0与Unity 4.6.6(我相信它也可以与4.6.5一起使用)和Xcode 6.3.1一起使用.

We're using Vuforia SDK 4.0 together with Unity 4.6.6 (I'm sure it also worked with 4.6.5) and Xcode 6.3.1.

  • 输入Player SettingsiOS PlatformOther Settings
  • Scripting Backend
  • 中选择IL2CPP
  • Architecture
  • 中选择Universal
  • Enter Player SettingsiOS PlatformOther Settings
  • Select IL2CPP from Scripting Backend
  • Choose Universal from Architecture

注意:IL2CPP编译器实际上并未提供有关其进度的反馈,因此该版本可能会使Unity冻结几分钟(取决于项目大小).只是等到它完成.

Note: The IL2CPP compiler doesn't really deliver feedback on its progress, so the build may freeze Unity for a couple of minutes (depending on the projects size). Just wait until its finished.

由于Xcode默认剥离很多代码,因此我们需要降低Xcode项目中的优化级别.

As Xcode stripped to much code by default, we needed to reduce the optimization level in the Xcode project.

  • 单击项目➔Build Settings
  • 向下滚动到Apple LLVM 6.1 - Code Generation(或者:使用搜索功能)
  • ReleaseOptimization Level更改为Fast
  • Click on the project ➔ Build Settings
  • Scroll down to Apple LLVM 6.1 - Code Generation (alternative: use the search function)
  • Change the Optimization Level to Fast for Release

另请参见: https://developer .apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/Performance/Performance.html

如果到此为止,它现在应该可以工作了;-)

If you got this far, it should be working now ;-)

这篇关于Unity vuforia xcode(iOS:armv7,arm64)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆