我需要在我的Xcode項目中下載並解壓縮一個文件, 我正在使用Ziparchive(https://code.google.com/p/ziparchive/downloads/detail?name=ZipArchive.zip)來執行此操作,而不是按照以下每一步收到編譯錯誤:無法編譯Ziparchive庫(iOS)
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:68:18: Redefinition of 'fopen_file_func' as different kind of symbol
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:68:35: Use of undeclared identifier 'opaque'
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:68:58: Expected ';' after top level declarator
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:72:1: Expected unqualified-id
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:90:17: Redefinition of 'fread_file_func' as different kind of symbol
Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:90:42: Use of undeclared identifier 'stream'; did you mean 'strcat'?
Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:90:50: Use of undeclared identifier 'buf'
/Developer/AR/vuforia-sdk-ios-2-6-8/samples/ARDemo/minizip/ioapi.c:95:1: Expected unqualified-id
我沒有線索如何成功編譯它,任何幫助表示讚賞。
已經鏈接它,libz.dylib和libz.1.2.5.dylib,所有的框架被添加,因爲我說我跟着亦步亦趨,仍是問題! –
我有工具,但我沒有錯誤 – Deepesh
請發送您的電子郵件編號 – Deepesh