Unity 5.0 Il2cpp

Source: Internet
Author: User
Tags pack unity 5

Using Unity5.0 for some time, until recently found Il2cpp, not very understand what it is doing, because with the Itextsharp to generate PDF files on the iOS device, You must switch from Mono2.0 to Il2cpp when build becomes a Xcode project, or Itextsharp will cause the app to crash on iOS devices, and there's no time to tangle. But when the IPA was released, it found that the size of the IPA was almost half as much as it used to be in Mono2.0.

So test it and create an empty unity project that generates an IPA:

mono2.x:

Export Xcode Project from unity: 22 seconds

SIZE:273.5MB of the Xcode project

Pack ipa:2 minutes for 16 seconds

SIZE:11.7MB of IPA


Il2cpp:

Export Xcode Project from unity: 48 seconds

SIZE:603.5MB of the Xcode project

Pack ipa:3 minutes for 48 seconds

SIZE:19.7MB of IPA


Compared to the results, il2cpp is less expensive, but it is estimated to be more efficient to run on iOS devices with Il2cpp apps, and it supports 64Bit iOS. Pending study.

Source for PDF generated with unity: Https://github.com/selectgithub/UnityiTextSharp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.