ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -
i try using extractzipfile plugin @ this: https://github.com/phonegap/phonegap-plugins/tree/master/ios/extractzipfile
but when compiler xcode 4.6.1 in sdk 6.1 throws error:
undefined symbols architecture i386: "_objc_class_$_ssziparchive", referenced from: objc-class-ref in extractzipfileplugin.o ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
i try issue @ here: undefined symbols architecture armv7 ssziparchive
but shows error:
/users/alienware/desktop/extractzipfile/ssziparchive/tests/ssziparchivetests.m:10:9: 'sentestingkit/sentestingkit.h' file not found
i work phonegap , make app in ios, dump.
update: try add ssziparchive.m compiler source , come new error:
undefined symbols architecture i386: "_unzclose", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzclosecurrentfile", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzgetcurrentfileinfo", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzgetglobalinfo", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzgotofirstfile", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzgotonextfile", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzopen", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzopencurrentfile", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzopencurrentfilepassword", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_unzreadcurrentfile", referenced from: +[ssziparchive unzipfileatpath:todestination:overwrite:password:error:delegate:] in ssziparchive.o "_zipclose", referenced from: -[ssziparchive close] in ssziparchive.o "_zipclosefileinzip", referenced from: -[ssziparchive writefile:] in ssziparchive.o -[ssziparchive writedata:filename:] in ssziparchive.o "_zipopen", referenced from: -[ssziparchive open] in ssziparchive.o "_zipopennewfileinzip", referenced from: -[ssziparchive writefile:] in ssziparchive.o -[ssziparchive writedata:filename:] in ssziparchive.o "_zipwriteinfileinzip", referenced from: -[ssziparchive writefile:] in ssziparchive.o -[ssziparchive writedata:filename:] in ssziparchive.o ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
go project settings>go build phases tab , compile sources , make sure drag class list.
Comments
Post a Comment