tsubaki / UnityZip

Other
167 stars 51 forks source link

IL2CPP Testing #3

Open yourpalmark opened 9 years ago

yourpalmark commented 9 years ago

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!

tsubaki commented 9 years ago

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

tsubaki commented 9 years ago

I check it in 4.6.2p2, It works properly.

Can you check in Unity 4.6.2p2? Thanks!

yamahigashi commented 9 years ago

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

tsubaki commented 9 years ago

hmm I voted.

Ad-mob-dev commented 1 year ago

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.