Adding minizip breaks Objective-C

后端 未结 4 557
眼角桃花
眼角桃花 2021-01-12 03:17

I\'m attempting to add ZipArchive to my project following the WikiPage. I\'ve added it to my project and attempted to build, but now NSObjRuntime.h, NSObject.h and countles

4条回答
  •  囚心锁ツ
    2021-01-12 03:48

    Dragging and dropping the ZipArchive folder into the project did not work for me. Instead, I dragged and dropped the minizip folder into the same folder where I added ZipArchive.h and ZipArchive.m files seperately. I chose the "Create folder references for any added folders". Reason: In ZipArchive.h file we do

     #include "minizip/zip.h"
     #import "AppDelegate.h"
     #include "minizip/unzip.h"
    

提交回复
热议问题