Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZipArchive.h not included for iOS #17

Open
hyperbting opened this issue May 8, 2019 · 3 comments
Open

ZipArchive.h not included for iOS #17

hyperbting opened this issue May 8, 2019 · 3 comments

Comments

@hyperbting
Copy link

could you attach ZipArchive.h? The .mm file included .h file but it cannot found .h file.

@shane-harper
Copy link

You need to extract the files from PluginsCode/iOS/ZipArchive/ into your Xcode project folder as stated in the readme

@ghost
Copy link

ghost commented May 13, 2021

"into your Xcode project" is quite vague, where exactly "into" the project this should be added?

@akrimahuzaifa
Copy link

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 VTDB: "\Assets\Plugins"

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.

contribution by: https://github.com/Ad-mob-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants