UnityZip icon indicating copy to clipboard operation
UnityZip copied to clipboard

IL2CPP Testing

Open yourpalmark opened this issue 10 years ago • 5 comments

Have you tested the project using the new IL2CPP compiler for iOS? Builds using UnityZip, seem to always fail.

Here's a bug on Unity's Issue Tracker mentioned by someone else: http://issuetracker.unity3d.com/issues/il2cpp-regression-projects-with-ionic-zlib-assembly-fail-to-build-in-4-dot-6-2p1

I am testing in 4.6.2P1 and seeing the same issues.

Thanks!

yourpalmark avatar Feb 11 '15 05:02 yourpalmark

I don't test yet. thanks information. i will check it.

tsubaki avatar Feb 14 '15 13:02 tsubaki

I check it in 4.6.2p2, It works properly.

Can you check in Unity 4.6.2p2? Thanks!

tsubaki avatar Feb 16 '15 05:02 tsubaki

FYI, I found that depends on PlayerSettings. Setting "API Compatibility Level" to ".net 2.0 Subset" cause that error. ( http://issuetracker.unity3d.com/issues/il2cpp-regression-projects-with-ionic-zlib-assembly-fail-to-build-in-4-dot-6-2p1 )

I've tested in both 4.6.2p2, 4.6.3f1 on the project, using IL2CPP, .net 2.0 subset

yamahigashi avatar Feb 25 '15 02:02 yamahigashi

hmm I voted.

tsubaki avatar Feb 27 '15 10:02 tsubaki

To-do's for UniZip for Unity & XCode:

add "PluginsCode>iOS>ZipArchive" files & folder to Unity project "Assets\Plugins\iOS" After that copy from package UnityZip: ">Asset>Plugins" (folders, files) & add to your project : "Assets/Plugins/IOS" Alterations for UniZip for iOS successful build:

If package is newly imported after above setup: (1) Open "ZipArchive.mm" file and REMOVE: -line 270[dc release] -line 271[gregorian release] -line 327[comp release] -line 328[gregorian release] -line 40[super delloc]

(2) Open "UnityZipFile.mm" file and REMOVE:

-line 32[zip release] -line 35[list release] -line 59[zip release]

-Before Build in XCode select "unity framework" from "unity iPhone" and go to "build settings>other>flags" add "-lz" symbol.

Ad-mob-dev avatar Oct 13 '22 09:10 Ad-mob-dev