Objective c 如何使用unrr lib取消对捆绑包的解压缩

Objective c 如何使用unrr lib取消对捆绑包的解压缩,objective-c,unrar,Objective C,Unrar,我在Mac OS上使用unrarlib。我无法取消归档中的捆绑包。我在归档文件中有一个bundle-Mybundle.component。在提取文件的过程中,我遇到了这样的文件 MyArchive/Mybudle.component/Contents/myfile.file 我需要把它放在小路上 /Users/MyUser/Unarchived/Mybudle.component/Contents/myfile.file 为此,我使用RARProcessFile。如果存在/Users/MyU

我在Mac OS上使用unrarlib。我无法取消归档中的捆绑包。我在归档文件中有一个bundle-Mybundle.component。在提取文件的过程中,我遇到了这样的文件

MyArchive/Mybudle.component/Contents/myfile.file
我需要把它放在小路上

/Users/MyUser/Unarchived/Mybudle.component/Contents/myfile.file

为此,我使用RARProcessFile。如果存在/Users/MyUser/Unarchived/Mybudle.component,则它可以工作。我怎样才能“提取包”?

您称之为“unrar库”的是什么?它是RAR下载网站提供的命令行工具吗?对你来说显而易见的东西对其他人来说并不明显,至少对包括我在内的无知者来说不明显。请明确你使用的关键词。这就是我的意思——有些人就是不明白。