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

查看:66
本文介绍了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.

iOS 64 位支持已在 4.6.2 版中添加

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 编写了一个支持 64 位的新编译器 IL2CPP,这是使用 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.

  • 进入播放器设置iOS平台其他设置
  • 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 - 代码生成(替代方法:使用搜索功能)
  • 优化级别更改为Fast,以便Release
  • 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天全站免登陆