Take the 2-minute tour ×

I need to unrar some files in Objective-C (iPhone). I tried to compile the unrar sources in xcode, but failed.

Appreciate it if some experts could teach me how to unrar in Objective-C (iPhone).

Any suggestions is welcome. Thank you.

share|improve this question
What does "failed" mean? If you report your problems in detail, maybe someone can help you past the difficulties. –  Marcelo Cantos Nov 4 '10 at 5:45
I created an empty iPhone project in xcode, and added the unrar sources. When I built it, a lot of errors prompted out. –  user403015 Nov 4 '10 at 8:45
possible duplicate of Compile/use unrar C++ source for iphone app? –  Brad Larson Nov 4 '10 at 16:10

2 Answers 2

up vote 1 down vote accepted

I could do a successful build of unrar sources, however I need help with an example project and further fixes.

Here's the github project:


share|improve this answer
This project is ready for mostly basic functions, like list files and extract files from archive as NSData. –  ararog Nov 15 '10 at 13:03

personally i use ZipArchive Library it can uncompress anything for me so far with Encryption method such as AES.

Have a look at their site http://www.artpol-software.com/ i can help you compiling the library.

if you're insist to use unrar library please let me know what you're facing exactly to provide with the appropriate help.

share|improve this answer
Thank you for your suggestion. However, I need to do unrar. –  user403015 Nov 4 '10 at 8:45

Your Answer


