मैं अपने iphone आवेदन और स्रोत कोड मैं ब्रैड लार्सन द्वारा प्रदान की अणु का नमूना कोड ऊपर मजाक था में शामिल किया है में आयात zlib, तथापि, जब मैं इस परियोजना का निर्माण, यह त्रुटि देता है नीचे के रूप में। क्या कोई मेरे लिए इंगित कर सकता है कि क्या यह एक लाइब्रेरी लिंकिंग समस्या है या क्या मुझे कुछ और याद आ रहा है?त्रुटि जब iPhone SDK
"_deflate", referenced from: -[NSData(Gzip) gzipDeflate] in NSData+Gzip.o "_inflateEnd",
referenced from: -[NSData(Gzip) initWithGzippedData:] in NSData+Gzip.o "inflateInit2",
referenced from: -[NSData(Gzip) initWithGzippedData:] in NSData+Gzip.o "_inflate",
referenced from: -[NSData(Gzip) initWithGzippedData:] in NSData+Gzip.o "_deflateEnd",
referenced from: -[NSData(Gzip) gzipDeflate] in NSData+Gzip.o "deflateInit2", referenced
from: -[NSData(Gzip) gzipDeflate] in NSData+Gzip.o ld: symbol(s) not found collect2: ld
returned 1 exit status
क्या आपने अपनी परियोजना में libz जोड़ा था? –