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.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- Programmatically setting and saving the icon assoc
- Omnisharp in VS Code produces a lot of warnings ab
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Call non-static methods on custom Unity Android Pl
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
Note: This answer is based on the information from the questions comments.
iOS 64-bit requirement
Since Feb 1, 2015 Apple forces iOS developers to supply a 64-bit binary when submitting new apps to the App Store.
Source: https://developer.apple.com/news/?id=01192015a
For app updates this got relevant on June 1, 2015.
Source: https://developer.apple.com/news/?id=04082015a
So, you're right, you'll need a 64-bit binary to submit an update of your app.
Unity3D 64-bit support
iOS 64-bit support was added in version 4.6.2
Source: http://blogs.unity3d.com/2015/01/29/unity-4-6-2-ios-64-bit-support/
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 forIL2CPP
.How to make it work
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.
Create a 64-bit build with Unity
Player Settings
➔iOS Platform
➔Other Settings
IL2CPP
fromScripting Backend
Universal
fromArchitecture
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.
LLVM optimization level in 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
(alternative: use the search function)Optimization Level
toFast
forRelease
See also: https://developer.apple.com/library/mac/documentation/General/Conceptual/MOSXAppProgrammingGuide/Performance/Performance.html
If you got this far, it should be working now ;-)